File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -30,24 +30,26 @@ case $1 in
30
30
31
31
RUSTFLAGS=" -C debug-assertions=no -C lto" \
32
32
CARGO_INCREMENTAL=0 \
33
- $run --test $t --features ' no_std mem c' --no-run
33
+ $run --test $t --no-default-features \
34
+ --features ' no_std mem c' --no-run
34
35
qemu-arm-static target/${1} /debug/$t -*
35
36
done
36
37
37
38
for t in $( ls testcrate/tests) ; do
38
39
t=${t% .rs}
39
40
RUSTFLAGS=" -C lto" \
40
41
CARGO_INCREMENTAL=0 \
41
- $run --test $t --features ' no_std mem c' --no-run --release
42
+ $run --test $t --no-default-features \
43
+ --features ' no_std mem c' --no-run --release
42
44
qemu-arm-static target/${1} /release/$t -*
43
45
done
44
46
;;
45
47
* )
46
48
run=" cargo test --manifest-path testcrate/Cargo.toml --target $1 "
47
- $run --features mangled-names
48
- $run --features mangled-names -- release
49
- $run --features ' mangled-names c '
50
- $run --features ' mangled-names c ' --release
49
+ $run
50
+ $run --release
51
+ $run --features c
52
+ $run --features c --release
51
53
;;
52
54
esac
53
55
Original file line number Diff line number Diff line change @@ -25,4 +25,5 @@ utest-macros = { git = "https://github.com/japaric/utest" }
25
25
c = [" compiler_builtins/c" ]
26
26
mem = [" compiler_builtins/mem" ]
27
27
mangled-names = [" compiler_builtins/mangled-names" ]
28
+ default = [" mangled-names" ]
28
29
no_std = []
You can’t perform that action at this time.
0 commit comments