diff --git a/programs/bpf_loader/Cargo.toml b/programs/bpf_loader/Cargo.toml index ac1d2d22eaaa60..f6875d75735c12 100644 --- a/programs/bpf_loader/Cargo.toml +++ b/programs/bpf_loader/Cargo.toml @@ -35,7 +35,7 @@ solana-precompiles = { workspace = true } solana-program = { workspace = true } solana-program-entrypoint = { workspace = true } solana-program-memory = { workspace = true } -solana-program-runtime = { workspace = true, features = ["metrics"] } +solana-program-runtime = { workspace = true } solana-pubkey = { workspace = true } solana-sbpf = { workspace = true } solana-sdk-ids = { workspace = true } @@ -80,6 +80,8 @@ harness = false targets = ["x86_64-unknown-linux-gnu"] [features] +default = ["metrics"] +metrics = ["solana-program-runtime/metrics"] shuttle-test = [ "solana-type-overrides/shuttle-test", "solana-program-runtime/shuttle-test",