From d7799358e41ad35be3b9708e36dc7f047808a059 Mon Sep 17 00:00:00 2001 From: Paolo Teti Date: Sun, 25 Feb 2018 09:19:34 +0100 Subject: [PATCH] Remove no_std features Everything default unconditionally to #![no_std]. --- library/compiler-builtins/ci/run.sh | 6 ++---- library/compiler-builtins/testcrate/Cargo.toml | 1 - 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/library/compiler-builtins/ci/run.sh b/library/compiler-builtins/ci/run.sh index 8ce706c2815d..8c85038f97a7 100755 --- a/library/compiler-builtins/ci/run.sh +++ b/library/compiler-builtins/ci/run.sh @@ -30,8 +30,7 @@ case $1 in RUSTFLAGS="-C debug-assertions=no -C lto" \ CARGO_INCREMENTAL=0 \ - $run --test $t --no-default-features \ - --features 'no_std mem c' --no-run + $run --test $t --no-default-features --features 'mem c' --no-run qemu-arm-static target/${1}/debug/$t-* done @@ -39,8 +38,7 @@ case $1 in t=${t%.rs} RUSTFLAGS="-C lto" \ CARGO_INCREMENTAL=0 \ - $run --test $t --no-default-features \ - --features 'no_std mem c' --no-run --release + $run --test $t --no-default-features --features 'mem c' --no-run --release qemu-arm-static target/${1}/release/$t-* done ;; diff --git a/library/compiler-builtins/testcrate/Cargo.toml b/library/compiler-builtins/testcrate/Cargo.toml index eae66ce2e19f..2a102660b2f7 100644 --- a/library/compiler-builtins/testcrate/Cargo.toml +++ b/library/compiler-builtins/testcrate/Cargo.toml @@ -26,4 +26,3 @@ c = ["compiler_builtins/c"] mem = ["compiler_builtins/mem"] mangled-names = ["compiler_builtins/mangled-names"] default = ["mangled-names"] -no_std = []