about summary refs log tree commit diff
path: root/library/stdarch/crates/std_detect/tests
diff options
context:
space:
mode:
authorAmanieu d'Antras <amanieu@gmail.com>2023-10-26 19:22:49 +0100
committerAmanieu d'Antras <amanieu@gmail.com>2023-10-29 20:39:50 +0100
commit3e5850284a518dff59f691e50fe0d7efded9ff56 (patch)
tree5873bbb44a7e5f428373a3e07c59fbec13d7b8a9 /library/stdarch/crates/std_detect/tests
parentb8ba57f310aaf3e5a02637f31735e93cb221c907 (diff)
downloadrust-3e5850284a518dff59f691e50fe0d7efded9ff56.tar.gz
rust-3e5850284a518dff59f691e50fe0d7efded9ff56.zip
Fix more missing/incorrect feature specifications
Diffstat (limited to 'library/stdarch/crates/std_detect/tests')
-rw-r--r--library/stdarch/crates/std_detect/tests/cpu-detection.rs6
-rw-r--r--library/stdarch/crates/std_detect/tests/macro_trailing_commas.rs2
2 files changed, 6 insertions, 2 deletions
diff --git a/library/stdarch/crates/std_detect/tests/cpu-detection.rs b/library/stdarch/crates/std_detect/tests/cpu-detection.rs
index 01a9040da84..f20ea6a2f77 100644
--- a/library/stdarch/crates/std_detect/tests/cpu-detection.rs
+++ b/library/stdarch/crates/std_detect/tests/cpu-detection.rs
@@ -1,4 +1,8 @@
-#![feature(stdarch_internal, stdarch_arm_feature_detection)]
+#![feature(
+    stdarch_internal,
+    stdarch_arm_feature_detection,
+    stdarch_powerpc_feature_detection
+)]
 #![allow(clippy::unwrap_used, clippy::use_debug, clippy::print_stdout)]
 #![cfg(any(
     target_arch = "arm",
diff --git a/library/stdarch/crates/std_detect/tests/macro_trailing_commas.rs b/library/stdarch/crates/std_detect/tests/macro_trailing_commas.rs
index 3a5d062f82b..3d5c736a053 100644
--- a/library/stdarch/crates/std_detect/tests/macro_trailing_commas.rs
+++ b/library/stdarch/crates/std_detect/tests/macro_trailing_commas.rs
@@ -1,4 +1,4 @@
-#![feature(stdarch_arm_feature_detection)]
+#![feature(stdarch_arm_feature_detection, stdarch_powerpc_feature_detection)]
 #![allow(clippy::unwrap_used, clippy::use_debug, clippy::print_stdout)]
 
 #[cfg(any(