diff --git a/library/std/tests/run-time-detect.rs b/library/std/tests/run-time-detect.rs index b2c3d0d3f9f8b..be2980f73268f 100644 --- a/library/std/tests/run-time-detect.rs +++ b/library/std/tests/run-time-detect.rs @@ -16,6 +16,7 @@ all(target_arch = "powerpc64", target_os = "linux"), feature(stdarch_powerpc_feature_detection) )] +#![cfg_attr(all(target_arch = "s390x", target_os = "linux"), feature(s390x_target_feature))] #[test] #[cfg(all(target_arch = "arm", any(target_os = "linux", target_os = "android")))]