Jelajahi Sumber

Remove no_std features

Everything default unconditionally to #![no_std].
Paolo Teti 7 tahun lalu
induk
melakukan
9e99aa2bbe
2 mengubah file dengan 2 tambahan dan 5 penghapusan
  1. 2 4
      ci/run.sh
  2. 0 1
      testcrate/Cargo.toml

+ 2 - 4
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
         ;;

+ 0 - 1
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 = []