diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2022-02-11 15:08:35 +0800 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2022-03-30 23:53:21 +0300 |
| commit | 1004783ef9bdcf006f0ed33badacf83a5934feb2 (patch) | |
| tree | 9db8e33f5809076953c29ae6e7bc569266f48130 /compiler/rustc_llvm/src | |
| parent | bb5c437a2ce9ccf2204c974300c5ea9eb32d3635 (diff) | |
| download | rust-1004783ef9bdcf006f0ed33badacf83a5934feb2.tar.gz rust-1004783ef9bdcf006f0ed33badacf83a5934feb2.zip | |
Stabilize native library modifier syntax and the `whole-archive` modifier specifically
Diffstat (limited to 'compiler/rustc_llvm/src')
| -rw-r--r-- | compiler/rustc_llvm/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_llvm/src/lib.rs b/compiler/rustc_llvm/src/lib.rs index 8476c2bfcc4..0324ac3641e 100644 --- a/compiler/rustc_llvm/src/lib.rs +++ b/compiler/rustc_llvm/src/lib.rs @@ -1,5 +1,5 @@ #![feature(nll)] -#![feature(native_link_modifiers)] +#![cfg_attr(bootstrap, feature(native_link_modifiers))] #![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")] // NOTE: This crate only exists to allow linking on mingw targets. |
