diff --git a/poh-bench/Cargo.toml b/poh-bench/Cargo.toml index 90f7144de3b664..0190b49b4d71fc 100644 --- a/poh-bench/Cargo.toml +++ b/poh-bench/Cargo.toml @@ -18,7 +18,7 @@ solana-entry = { workspace = true } solana-logger = { workspace = true } solana-measure = { workspace = true } solana-perf = { workspace = true } -solana-sdk = { workspace = true } +solana-sdk = { workspace = true, features = ["dev-context-only-utils"] } solana-version = { workspace = true } [package.metadata.docs.rs] diff --git a/scripts/check-dev-context-only-utils.sh b/scripts/check-dev-context-only-utils.sh index 55ee04a72b36d3..023ef2e9b6b368 100755 --- a/scripts/check-dev-context-only-utils.sh +++ b/scripts/check-dev-context-only-utils.sh @@ -31,6 +31,7 @@ source ci/rust-version.sh nightly declare tainted_packages=( "solana-banking-bench" "solana-banking-bench2" + "solana-poh-bench" ) # convert to comma separeted (ref: https://stackoverflow.com/a/53839433)