Fix features needed for the intrinsics example

master
Alex Crichton 2017-06-23 08:35:24 -07:00
parent 4540bd4314
commit 0be8b20cb7
1 changed files with 2 additions and 2 deletions

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