Skip to content

Commit

Permalink
Rollup merge of #67410 - mati865:mingw_link_fix, r=Mark-Simulacrum
Browse files Browse the repository at this point in the history
Reenable static linking of libstdc++ on windows-gnu

Fixes #67408

Verified locally that `rustc_driver` is now statically linked to libstdc++.
  • Loading branch information
Centril authored Dec 22, 2019
2 parents 616373e + 44603a5 commit 35ff2f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 35ff2f1

Please sign in to comment.