diff options
| author | bors <bors@rust-lang.org> | 2023-09-27 11:28:36 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-09-27 11:28:36 +0000 |
| commit | 92009f217a05d12716e278b4ade8d2624946eb5f (patch) | |
| tree | 1e54409585380a419a6eb159336285d312c1a8f6 | |
| parent | 085acd02d4abaf2ccaf629134caa83cfe23283c8 (diff) | |
| parent | ab8307331af0ecbd1b94a0dc1f94c0b78776a8c4 (diff) | |
| download | rust-92009f217a05d12716e278b4ade8d2624946eb5f.tar.gz rust-92009f217a05d12716e278b4ade8d2624946eb5f.zip | |
Auto merge of #116093 - RalfJung:link_llvm_intrinsics, r=oli-obk
make link_llvm_intrinsics and platform_intrinsics features internal These are both a lot like `feature(intrinsics)`, just slightly different syntax, so IMO it should be treated the same (also in terms of: if you get ICEs with this feature, that's on you -- we are not doing "nice" type-checking for intrinsics).
| -rw-r--r-- | compiler/rustc_feature/src/active.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/rustc_feature/src/active.rs b/compiler/rustc_feature/src/active.rs index f3b88f46bae..94afb6edcf6 100644 --- a/compiler/rustc_feature/src/active.rs +++ b/compiler/rustc_feature/src/active.rs @@ -236,7 +236,7 @@ declare_features! ( /// Allows using the `#[fundamental]` attribute. (active, fundamental, "1.0.0", Some(29635), None), /// Allows using `#[link_name="llvm.*"]`. - (active, link_llvm_intrinsics, "1.0.0", Some(29602), None), + (internal, link_llvm_intrinsics, "1.0.0", Some(29602), None), /// Allows using the `#[linkage = ".."]` attribute. (active, linkage, "1.0.0", Some(29603), None), /// Allows declaring with `#![needs_panic_runtime]` that a panic runtime is needed. @@ -245,6 +245,8 @@ declare_features! ( (active, packed_bundled_libs, "1.69.0", Some(108081), None), /// Allows using the `#![panic_runtime]` attribute. (internal, panic_runtime, "1.10.0", Some(32837), None), + /// Allows `extern "platform-intrinsic" { ... }`. + (internal, platform_intrinsics, "1.4.0", Some(27731), None), /// Allows using `#[rustc_allow_const_fn_unstable]`. /// This is an attribute on `const fn` for the same /// purpose as `#[allow_internal_unstable]`. @@ -526,8 +528,6 @@ declare_features! ( (active, object_safe_for_dispatch, "1.40.0", Some(43561), None), /// Allows using `#[optimize(X)]`. (active, optimize_attribute, "1.34.0", Some(54882), None), - /// Allows `extern "platform-intrinsic" { ... }`. - (active, platform_intrinsics, "1.4.0", Some(27731), None), /// Allows using `#![plugin(myplugin)]`. (active, plugin, "1.0.0", Some(29597), None), /// Allows exhaustive integer pattern matching on `usize` and `isize`. |
