diff options
| author | bors <bors@rust-lang.org> | 2022-09-10 04:14:34 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-09-10 04:14:34 +0000 |
| commit | cedd26b1ea066fe243b82b0f78e37066c6f4d789 (patch) | |
| tree | 9e259edeea5fcf1e113ca5b609ce3bb7674b5c38 /compiler/rustc_feature/src/active.rs | |
| parent | 87eb3e2dfad244025bd5ee3161be66c271f691d8 (diff) | |
| parent | c7475011a398b9aa35c60e20f1b396dc0fc65afa (diff) | |
| download | rust-cedd26b1ea066fe243b82b0f78e37066c6f4d789.tar.gz rust-cedd26b1ea066fe243b82b0f78e37066c6f4d789.zip | |
Auto merge of #99916 - dpaoliello:stablizerawdylib, r=wesleywiser
Stabilize raw-dylib for non-x86 This stabilizes the `raw-dylib` and `link_ordinal` features (#58713) for non-x86 architectures (i.e., `x86_64`, `aarch64` and `thumbv7a`): * Marked the `raw_dylib` feature as `active`. * Marked the `link_ordinal` attribute as `ungated`. * Added new errors if either feature is used on x86 targets without the `raw_dylib` feature being enabled. * Updated tests to only set the `raw_dylib` feature when building for x86.
Diffstat (limited to 'compiler/rustc_feature/src/active.rs')
| -rw-r--r-- | compiler/rustc_feature/src/active.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_feature/src/active.rs b/compiler/rustc_feature/src/active.rs index 3b8032040e7..98258834bd5 100644 --- a/compiler/rustc_feature/src/active.rs +++ b/compiler/rustc_feature/src/active.rs @@ -478,7 +478,7 @@ declare_features! ( /// Allows macro attributes on expressions, statements and non-inline modules. (active, proc_macro_hygiene, "1.30.0", Some(54727), None), /// Allows the use of raw-dylibs (RFC 2627). - (incomplete, raw_dylib, "1.40.0", Some(58713), None), + (active, raw_dylib, "CURRENT_RUSTC_VERSION", Some(58713), None), /// Allows `&raw const $place_expr` and `&raw mut $place_expr` expressions. (active, raw_ref_op, "1.41.0", Some(64490), None), /// Allows using the `#[register_tool]` attribute. |
