Skip to content

Commit 44603a5

Browse files
committed
Reenable static linking of libstdc++ on windows-gnu
1 parent 19bd934 commit 44603a5

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)