Skip to content

Commit 4306047

Browse files
authored
Rollup merge of rust-lang#148902 - folkertdev:detect-s390x-target-feature, r=tgross35
add missing s390x target feature to std detect test Fix an oversight from rust-lang#145656, where the `is_s390x_feature_detected!` macro and some target features were stabilized, but other target features remain unstable under a new target feature name. I tested this locally using a `stage1` build on the test file with the `s390x-unknown-linux-gnu` target. cc `@uweigand` r? `@Amanieu` (or whoever really)
2 parents 315d554 + 776405c commit 4306047

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/std/tests/run-time-detect.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
all(target_arch = "powerpc64", target_os = "linux"),
1717
feature(stdarch_powerpc_feature_detection)
1818
)]
19+
#![cfg_attr(all(target_arch = "s390x", target_os = "linux"), feature(s390x_target_feature))]
1920

2021
#[test]
2122
#[cfg(all(target_arch = "arm", any(target_os = "linux", target_os = "android")))]

0 commit comments

Comments
 (0)