rustc_llvm: fix linking on mingw.

This commit is contained in:
Irina Popa 2018-07-31 15:36:38 +03:00
parent 69ed6b928c
commit baff67d51f
2 changed files with 3 additions and 0 deletions

View File

@ -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");
}
}

View File

@ -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/")]