diff options
| author | Mateusz Mikuła <mati865@gmail.com> | 2021-10-23 14:34:33 +0200 |
|---|---|---|
| committer | Mateusz Mikuła <mati865@gmail.com> | 2021-10-23 15:51:22 +0200 |
| commit | a076f2b9b48af47a2f85f579069424d88d850915 (patch) | |
| tree | 403d7127e697d4f0a5bbffcbf14c43fa3f41b7fb /compiler/rustc_llvm/src | |
| parent | cf708558b758f4473c4f35986d9492ace7bf906d (diff) | |
| download | rust-a076f2b9b48af47a2f85f579069424d88d850915.tar.gz rust-a076f2b9b48af47a2f85f579069424d88d850915.zip | |
Repace use of `static_nobundle` with `native_link_modifiers`
This fixes warning when building Rust and running tests: ``` warning: library kind `static-nobundle` has been superseded by specifying `-bundle` on library kind `static`. Try `static:-bundle` warning: `rustc_llvm` (lib) generated 2 warnings (1 duplicate) ```
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 6493bd91ca2..8476c2bfcc4 100644 --- a/compiler/rustc_llvm/src/lib.rs +++ b/compiler/rustc_llvm/src/lib.rs @@ -1,5 +1,5 @@ #![feature(nll)] -#![feature(static_nobundle)] +#![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. |
