Enable `mem` for intrinsics on linux
This commit is contained in:
parent
0be8b20cb7
commit
696b821bb7
12
ci/run.sh
12
ci/run.sh
|
@ -43,10 +43,10 @@ esac
|
||||||
# Verify that we haven't drop any intrinsic/symbol
|
# Verify that we haven't drop any intrinsic/symbol
|
||||||
case $1 in
|
case $1 in
|
||||||
thumb*)
|
thumb*)
|
||||||
xargo build --features c --target $1 --example intrinsics
|
xargo build --features 'c mem' --target $1 --example intrinsics
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
cargo build --features c --target $1 --example intrinsics
|
cargo build --features 'c mem' --target $1 --example intrinsics
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
@ -54,12 +54,12 @@ esac
|
||||||
# TODO(#79) fix the undefined references problem for debug-assertions+lto
|
# TODO(#79) fix the undefined references problem for debug-assertions+lto
|
||||||
case $1 in
|
case $1 in
|
||||||
thumb*)
|
thumb*)
|
||||||
RUSTFLAGS="-C debug-assertions=no" xargo rustc --features c --target $1 --example intrinsics -- -C lto -C link-arg=-nostartfiles
|
RUSTFLAGS="-C debug-assertions=no" xargo rustc --features 'c mem' --target $1 --example intrinsics -- -C lto -C link-arg=-nostartfiles
|
||||||
xargo rustc --features c --target $1 --example intrinsics --release -- -C lto
|
xargo rustc --features 'c mem' --target $1 --example intrinsics --release -- -C lto
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
RUSTFLAGS="-C debug-assertions=no" cargo rustc --features c --target $1 --example intrinsics -- -C lto
|
RUSTFLAGS="-C debug-assertions=no" cargo rustc --features 'c mem' --target $1 --example intrinsics -- -C lto
|
||||||
cargo rustc --features c --target $1 --example intrinsics --release -- -C lto
|
cargo rustc --features 'c mem' --target $1 --example intrinsics --release -- -C lto
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue