Don't try to work with cargo test

This commit is contained in:
Alex Crichton 2017-06-24 10:22:49 -07:00
parent 5d6d3fde6a
commit 91b1291dc5
2 changed files with 5 additions and 6 deletions

View File

@ -51,10 +51,10 @@ case $1 in
done
;;
*)
cargo test --features gen-tests --target $1
cargo test --features 'gen-tests c' --target $1
cargo test --features gen-tests --target $1 --release
cargo test --features 'gen-tests c' --target $1 --release
cargo test --no-default-features --features gen-tests --target $1
cargo test --no-default-features --features 'gen-tests c' --target $1
cargo test --no-default-features --features gen-tests --target $1 --release
cargo test --no-default-features --features 'gen-tests c' --target $1 --release
;;
esac

View File

@ -1,7 +1,6 @@
#![cfg_attr(not(stage0), deny(warnings))]
#![cfg_attr(not(test), no_std)]
#![cfg_attr(all(feature = "compiler-builtins",
not(feature = "gen-tests")), compiler_builtins)]
#![cfg_attr(feature = "compiler-builtins", compiler_builtins)]
#![crate_name = "compiler_builtins"]
#![crate_type = "rlib"]
#![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk.png",