Reenable static linking of libstdc++ on windows-gnu

This commit is contained in:
Mateusz Mikuła 2019-12-18 22:48:24 +01:00
parent 19bd934676
commit 44603a5cd6

View File

@ -563,7 +563,7 @@ pub fn rustc_cargo_env(builder: &Builder<'_>, cargo: &mut Cargo, target: Interne
// not for MSVC or macOS
if builder.config.llvm_static_stdcpp &&
!target.contains("freebsd") &&
!target.contains("windows") &&
!target.contains("msvc") &&
!target.contains("apple") {
let file = compiler_file(builder,
builder.cxx(target).unwrap(),