Remove no_std features

Everything default unconditionally to #![no_std].
This commit is contained in:
Paolo Teti 2018-02-25 09:19:34 +01:00
parent 7b81af044e
commit 9e99aa2bbe
2 changed files with 2 additions and 5 deletions

View File

@ -30,8 +30,7 @@ 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 --no-default-features \ $run --test $t --no-default-features --features 'mem c' --no-run
--features 'no_std mem c' --no-run
qemu-arm-static target/${1}/debug/$t-* qemu-arm-static target/${1}/debug/$t-*
done done
@ -39,8 +38,7 @@ case $1 in
t=${t%.rs} t=${t%.rs}
RUSTFLAGS="-C lto" \ RUSTFLAGS="-C lto" \
CARGO_INCREMENTAL=0 \ CARGO_INCREMENTAL=0 \
$run --test $t --no-default-features \ $run --test $t --no-default-features --features 'mem c' --no-run --release
--features 'no_std mem c' --no-run --release
qemu-arm-static target/${1}/release/$t-* qemu-arm-static target/${1}/release/$t-*
done done
;; ;;

View File

@ -26,4 +26,3 @@ 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"] default = ["mangled-names"]
no_std = []