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

@ -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 {}",