Skip to content

Commit

Permalink
make solana-metrics optional in solana-bpf-loader-program (#4360)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinheavey authored Jan 9, 2025
1 parent c4b77a2 commit 2cacced
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion programs/bpf_loader/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 2cacced

Please sign in to comment.