Skip to content

Commit 8f9ac9c

Browse files
committed
Fix MinGW
1 parent 716dcb7 commit 8f9ac9c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build_system/build_sysroot.rs

+1
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,7 @@ fn build_rtstartup(dirs: &Dirs, compiler: &Compiler) -> Option<SysrootTarget> {
306306
let obj = RTSTARTUP_SYSROOT.to_path(dirs).join(format!("{file}.o"));
307307
let mut build_rtstartup_cmd = Command::new(&compiler.rustc);
308308
build_rtstartup_cmd
309+
.arg("-Ainternal_features") // Missing #[allow(internal_features)]
309310
.arg("--target")
310311
.arg(&compiler.triple)
311312
.arg("--emit=obj")

0 commit comments

Comments
 (0)