Fix features needed for the intrinsics example

This commit is contained in:
Alex Crichton 2017-06-23 08:35:24 -07:00
parent 4540bd4314
commit 0be8b20cb7

View File

@ -55,11 +55,11 @@ esac
case $1 in
thumb*)
RUSTFLAGS="-C debug-assertions=no" xargo rustc --features c --target $1 --example intrinsics -- -C lto -C link-arg=-nostartfiles
xargo rustc --no-default-features --features c --target $1 --example intrinsics --release -- -C lto
xargo rustc --features c --target $1 --example intrinsics --release -- -C lto
;;
*)
RUSTFLAGS="-C debug-assertions=no" cargo rustc --features c --target $1 --example intrinsics -- -C lto
cargo rustc --no-default-features --features c --target $1 --example intrinsics --release -- -C lto
cargo rustc --features c --target $1 --example intrinsics --release -- -C lto
;;
esac