Only activate legacy program feature for the solana-sdk crate

This commit is contained in:
Michael Vines 2020-10-23 00:46:30 -07:00
parent fe68f7f786
commit 85c51f5787
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ test-stable)
;;
test-stable-perf)
# BPF solana-sdk legacy compile test
./cargo-build-bpf --manifest-path sdk/Cargo.toml --no-default-features --features program
./cargo-build-bpf --manifest-path sdk/Cargo.toml
# BPF program tests
_ make -C programs/bpf/c tests

View File

@ -114,7 +114,7 @@ fn build_bpf(config: Config) {
}
};
let legacy_program_feature_present = root_package.features.contains_key("program");
let legacy_program_feature_present = root_package.name == "solana-sdk";
let root_package_dir = &root_package.manifest_path.parent().unwrap_or_else(|| {
eprintln!(
"Unable to get directory of {}",