-
Notifications
You must be signed in to change notification settings - Fork 13.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
expose is_s390x_feature_detected!
from std::arch
#138275
expose is_s390x_feature_detected!
from std::arch
#138275
Conversation
@bors r+ Technically new API area, but seems basically obviously fine to add as unstable. |
Rollup of 16 pull requests Successful merges: - rust-lang#133055 (Expand `CloneToUninit` documentation.) - rust-lang#137147 (Add exclude to config.toml) - rust-lang#137864 (Don't drop `Rvalue::WrapUnsafeBinder` during GVN) - rust-lang#137890 (doc: clarify that consume can be called after BufReader::peek) - rust-lang#137956 (Add RTN support to rustdoc) - rust-lang#137968 (Properly escape regexes in Python scripts) - rust-lang#138082 (Remove `#[cfg(not(test))]` gates in `core`) - rust-lang#138275 (expose `is_s390x_feature_detected!` from `std::arch`) - rust-lang#138303 (Fix Ptr inconsistency in {Rc,Arc}) - rust-lang#138309 (Add missing doc for intrinsic (Fix PR135334)) - rust-lang#138323 (Expand and organize `offset_of!` documentation.) - rust-lang#138329 (debug-assert that the size_hint is well-formed in `collect`) - rust-lang#138465 (linkchecker: bump html5ever) - rust-lang#138471 (Clean up some tests in tests/ui) - rust-lang#138472 (Add codegen test for rust-lang#129795) - rust-lang#138484 (Use lit span when suggesting suffix lit cast) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#138275 - folkertdev:expose-is-s390x-feature-detected, r=Mark-Simulacrum expose `is_s390x_feature_detected!` from `std::arch` tracking issue: rust-lang#135413 implementation: rust-lang/stdarch#1699 (more features added in rust-lang/stdarch#1720) This macro was part of the recent `stdarch` synchronization, but not yet exposed via `std::arch`. r? libs
…-detected, r=Mark-Simulacrum expose `is_s390x_feature_detected!` from `std::arch` tracking issue: rust-lang#135413 implementation: rust-lang/stdarch#1699 (more features added in rust-lang/stdarch#1720) This macro was part of the recent `stdarch` synchronization, but not yet exposed via `std::arch`. r? libs
Not sure if this is directly related, but as of a few days ago, I now see this failure in
|
I suspect this is a caching issue of some kind? I ran run the following just fine (with qemu) #![cfg_attr(
all(target_arch = "s390x", target_os = "linux"),
feature(stdarch_s390x_feature_detection)
)]
use std::arch::is_s390x_feature_detected;
fn main() {
println!(
"vector-packed-decimal-enhancement-2: {}",
is_s390x_feature_detected!("vector-packed-decimal-enhancement-2")
);
} on current nightly. You could try a |
I still see the failure today after cleaning everything. The failure occurs during stage0 library build, where the std library sources included in the Rust repo ( |
I believe bootstrap updates in tandem with the standard releases, so maybe wait for that? |
tracking issue: #135413
implementation: rust-lang/stdarch#1699 (more features added in rust-lang/stdarch#1720)
This macro was part of the recent
stdarch
synchronization, but not yet exposed viastd::arch
.r? libs