about summary refs log tree commit diff
path: root/library/stdarch/crates/std_detect/src/lib.rs
diff options
context:
space:
mode:
authorAmanieu d'Antras <amanieu@gmail.com>2023-10-27 13:37:04 +0100
committerAmanieu d'Antras <amanieu@gmail.com>2023-10-29 20:39:50 +0100
commitea27e5cfcb0bf156e11d45fd439ccbf539cd1d18 (patch)
tree2f5dea2aea729cb8f0973698d0ca6fce7483f620 /library/stdarch/crates/std_detect/src/lib.rs
parent3e5850284a518dff59f691e50fe0d7efded9ff56 (diff)
downloadrust-ea27e5cfcb0bf156e11d45fd439ccbf539cd1d18.tar.gz
rust-ea27e5cfcb0bf156e11d45fd439ccbf539cd1d18.zip
Fix various compilation errors
Diffstat (limited to 'library/stdarch/crates/std_detect/src/lib.rs')
-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 1ff42000992..5862ada21db 100644
--- a/library/stdarch/crates/std_detect/src/lib.rs
+++ b/library/stdarch/crates/std_detect/src/lib.rs
@@ -21,6 +21,8 @@
 #![no_std]
 #![allow(internal_features)]
 // Temporary hack: needed to build against toolchains from before the mass feature renaming.
+// Remove this as soon as the stdarch submodule is updated on nightly.
+#![allow(stable_features)]
 #![feature(stdsimd)]
 
 #[cfg(test)]