mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
rustc_llvm: fix linking on mingw.
This commit is contained in:
parent
69ed6b928c
commit
baff67d51f
@ -271,5 +271,6 @@ fn main() {
|
||||
if target.contains("windows-gnu") {
|
||||
println!("cargo:rustc-link-lib=static-nobundle=gcc_s");
|
||||
println!("cargo:rustc-link-lib=static-nobundle=pthread");
|
||||
println!("cargo:rustc-link-lib=dylib=uuid");
|
||||
}
|
||||
}
|
||||
|
@ -8,6 +8,8 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
#![feature(static_nobundle)]
|
||||
|
||||
#![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
|
||||
html_favicon_url = "https://doc.rust-lang.org/favicon.ico",
|
||||
html_root_url = "https://doc.rust-lang.org/nightly/")]
|
||||
|
Loading…
Reference in New Issue
Block a user