Skip to content

Commit 35ff2f1

Browse files
authored
Rollup merge of #67410 - mati865:mingw_link_fix, r=Mark-Simulacrum
Reenable static linking of libstdc++ on windows-gnu Fixes #67408 Verified locally that `rustc_driver` is now statically linked to libstdc++.
2 parents 616373e + 44603a5 commit 35ff2f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/compile.rs

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

0 commit comments

Comments
 (0)