Keep mangled-names as a default feature
This commit is contained in:
parent
86612733be
commit
7b81af044e
14
ci/run.sh
14
ci/run.sh
@ -30,7 +30,8 @@ case $1 in
|
|||||||
|
|
||||||
RUSTFLAGS="-C debug-assertions=no -C lto" \
|
RUSTFLAGS="-C debug-assertions=no -C lto" \
|
||||||
CARGO_INCREMENTAL=0 \
|
CARGO_INCREMENTAL=0 \
|
||||||
$run --test $t --features 'no_std mem c' --no-run
|
$run --test $t --no-default-features \
|
||||||
|
--features 'no_std mem c' --no-run
|
||||||
qemu-arm-static target/${1}/debug/$t-*
|
qemu-arm-static target/${1}/debug/$t-*
|
||||||
done
|
done
|
||||||
|
|
||||||
@ -38,16 +39,17 @@ case $1 in
|
|||||||
t=${t%.rs}
|
t=${t%.rs}
|
||||||
RUSTFLAGS="-C lto" \
|
RUSTFLAGS="-C lto" \
|
||||||
CARGO_INCREMENTAL=0 \
|
CARGO_INCREMENTAL=0 \
|
||||||
$run --test $t --features 'no_std mem c' --no-run --release
|
$run --test $t --no-default-features \
|
||||||
|
--features 'no_std mem c' --no-run --release
|
||||||
qemu-arm-static target/${1}/release/$t-*
|
qemu-arm-static target/${1}/release/$t-*
|
||||||
done
|
done
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
run="cargo test --manifest-path testcrate/Cargo.toml --target $1"
|
run="cargo test --manifest-path testcrate/Cargo.toml --target $1"
|
||||||
$run --features mangled-names
|
$run
|
||||||
$run --features mangled-names --release
|
$run --release
|
||||||
$run --features 'mangled-names c'
|
$run --features c
|
||||||
$run --features 'mangled-names c' --release
|
$run --features c --release
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
@ -25,4 +25,5 @@ utest-macros = { git = "https://github.com/japaric/utest" }
|
|||||||
c = ["compiler_builtins/c"]
|
c = ["compiler_builtins/c"]
|
||||||
mem = ["compiler_builtins/mem"]
|
mem = ["compiler_builtins/mem"]
|
||||||
mangled-names = ["compiler_builtins/mangled-names"]
|
mangled-names = ["compiler_builtins/mangled-names"]
|
||||||
|
default = ["mangled-names"]
|
||||||
no_std = []
|
no_std = []
|
||||||
|
Loading…
Reference in New Issue
Block a user