about summary refs log tree commit diff
path: root/library/stdarch/crates/std_detect
diff options
context:
space:
mode:
authorgnzlbg <gonzalobg88@gmail.com>2019-02-13 22:05:49 +0100
committergnzlbg <gnzlbg@users.noreply.github.com>2019-02-14 03:45:57 +0100
commite56de7344f45a3488589ff56da4d38c042b7d7ce (patch)
tree9596c60f60e1ad6f82e9a5b29145b45196ee5762 /library/stdarch/crates/std_detect
parent6681ec36b0e1258dddf42e7415177adaf1c6824e (diff)
downloadrust-e56de7344f45a3488589ff56da4d38c042b7d7ce.tar.gz
rust-e56de7344f45a3488589ff56da4d38c042b7d7ce.zip
Fix wasm32 build job
Diffstat (limited to 'library/stdarch/crates/std_detect')
-rw-r--r--library/stdarch/crates/std_detect/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/stdarch/crates/std_detect/src/lib.rs b/library/stdarch/crates/std_detect/src/lib.rs
index f5278f964a9..da54cc73592 100644
--- a/library/stdarch/crates/std_detect/src/lib.rs
+++ b/library/stdarch/crates/std_detect/src/lib.rs
@@ -20,6 +20,8 @@
 )]
 #![cfg_attr(target_os = "linux", feature(linkage))]
 #![cfg_attr(all(target_os = "freebsd", target_arch = "aarch64"), feature(asm))]
+#![cfg_attr(stdsimd_strict, deny(warnings))]
+#![cfg_attr(test, allow(unused_imports))]
 #![no_std]
 
 #[macro_use]