Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 336e89b

Browse files
committedJul 12, 2024
Auto merge of rust-lang#127665 - workingjubilee:rollup-g90yr21, r=workingjubilee
Rollup of 11 pull requests Successful merges: - rust-lang#126502 (Ignore allocation bytes in some mir-opt tests) - rust-lang#126922 (add lint for inline asm labels that look like binary) - rust-lang#127209 (Added the `xop` target-feature and the `xop_target_feature` feature gate) - rust-lang#127310 (Fix import suggestion ice) - rust-lang#127338 (Migrate `extra-filename-with-temp-outputs` and `issue-85019-moved-src-dir` `run-make` tests to rmake) - rust-lang#127381 (Migrate `issue-83045`, `rustc-macro-dep-files` and `env-dep-info` `run-make` tests to rmake) - rust-lang#127535 (Fire unsafe_code lint on unsafe extern blocks) - rust-lang#127619 (Suggest using precise capturing for hidden type that captures region) - rust-lang#127631 (Remove `fully_normalize`) - rust-lang#127632 (Implement `precise_capturing` support for rustdoc) - rust-lang#127660 (Rename the internal `const_strlen` to just `strlen`) r? `@ghost` `@rustbot` modify labels: rollup
2 parents c6727fc + 8f8734c commit 336e89b

File tree

140 files changed

+1288
-690
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

140 files changed

+1288
-690
lines changed
 

‎compiler/rustc_codegen_ssa/src/target_features.rs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ pub fn from_target_feature(
8181
Some(sym::lahfsahf_target_feature) => rust_features.lahfsahf_target_feature,
8282
Some(sym::prfchw_target_feature) => rust_features.prfchw_target_feature,
8383
Some(sym::x86_amx_intrinsics) => rust_features.x86_amx_intrinsics,
84+
Some(sym::xop_target_feature) => rust_features.xop_target_feature,
8485
Some(name) => bug!("unknown target feature gate {}", name),
8586
None => true,
8687
};

‎compiler/rustc_feature/src/unstable.rs‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -642,6 +642,8 @@ declare_features! (
642642
(unstable, used_with_arg, "1.60.0", Some(93798)),
643643
/// Allows use of x86 `AMX` target-feature attributes and intrinsics
644644
(unstable, x86_amx_intrinsics, "CURRENT_RUSTC_VERSION", Some(126622)),
645+
/// Allows use of the `xop` target-feature
646+
(unstable, xop_target_feature, "CURRENT_RUSTC_VERSION", Some(127208)),
645647
/// Allows `do yeet` expressions
646648
(unstable, yeet_expr, "1.62.0", Some(96373)),
647649
// !!!! !!!! !!!! !!!! !!!! !!!! !!!! !!!! !!!! !!!! !!!!

0 commit comments

Comments
 (0)
This repository has been archived.