Build programs with `--no-default-features --features program` to match solana-sdk

This commit is contained in:
Michael Vines 2020-07-30 13:06:51 -07:00
parent efcf9ff125
commit 52575349dc
1 changed files with 1 additions and 1 deletions

View File

@ -40,6 +40,6 @@ export XARGO_RUST_SRC="$bpf_sdk/dependencies/rust-bpf-sysroot/src"
export RUST_COMPILER_RT_ROOT="$bpf_sdk/dependencies/rust-bpf-sysroot/src/compiler-rt"
cd "$1"
xargo build --target bpfel-unknown-unknown --release
xargo build --target bpfel-unknown-unknown --release --no-default-features --features program
{ { set +x; } 2>/dev/null; echo Success; }