Only activate legacy program feature for the solana-sdk crate
This commit is contained in:
parent
fe68f7f786
commit
85c51f5787
|
@ -41,7 +41,7 @@ test-stable)
|
||||||
;;
|
;;
|
||||||
test-stable-perf)
|
test-stable-perf)
|
||||||
# BPF solana-sdk legacy compile test
|
# 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
|
# BPF program tests
|
||||||
_ make -C programs/bpf/c tests
|
_ make -C programs/bpf/c tests
|
||||||
|
|
|
@ -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(|| {
|
let root_package_dir = &root_package.manifest_path.parent().unwrap_or_else(|| {
|
||||||
eprintln!(
|
eprintln!(
|
||||||
"Unable to get directory of {}",
|
"Unable to get directory of {}",
|
||||||
|
|
Loading…
Reference in New Issue