File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 41
41
# Verify that we haven't drop any intrinsic/symbol
42
42
case $1 in
43
43
thumb* )
44
- xargo build --features c --target $1 --bin intrinsics
44
+ xargo build --features c --target $1 --example intrinsics
45
45
;;
46
46
* )
47
- cargo build --no-default-features --features c --target $1 --bin intrinsics
47
+ cargo build --no-default-features --features c --target $1 --example intrinsics
48
48
;;
49
49
esac
50
50
51
51
# Verify that there are no undefined symbols to `panic` within our implementations
52
52
# TODO(#79) fix the undefined references problem for debug-assertions+lto
53
53
case $1 in
54
54
thumb* )
55
- RUSTFLAGS=" -C debug-assertions=no" xargo rustc --no-default-features --features c --target $1 --bin intrinsics -- -C lto -C link-arg=-nostartfiles
56
- xargo rustc --no-default-features --features c --target $1 --bin intrinsics --release -- -C lto
55
+ RUSTFLAGS=" -C debug-assertions=no" xargo rustc --no-default-features --features c --target $1 --example intrinsics -- -C lto -C link-arg=-nostartfiles
56
+ xargo rustc --no-default-features --features c --target $1 --example intrinsics --release -- -C lto
57
57
;;
58
58
* )
59
- RUSTFLAGS=" -C debug-assertions=no" cargo rustc --no-default-features --features c --target $1 --bin intrinsics -- -C lto
60
- cargo rustc --no-default-features --features c --target $1 --bin intrinsics --release -- -C lto
59
+ RUSTFLAGS=" -C debug-assertions=no" cargo rustc --no-default-features --features c --target $1 --example intrinsics -- -C lto
60
+ cargo rustc --no-default-features --features c --target $1 --example intrinsics --release -- -C lto
61
61
;;
62
62
esac
63
63
File renamed without changes.
You can’t perform that action at this time.
0 commit comments