Skip to content

Commit

Permalink
Fix MinGW
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorn3 committed Aug 9, 2023
1 parent 716dcb7 commit 8f9ac9c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build_system/build_sysroot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ fn build_rtstartup(dirs: &Dirs, compiler: &Compiler) -> Option<SysrootTarget> {
let obj = RTSTARTUP_SYSROOT.to_path(dirs).join(format!("{file}.o"));
let mut build_rtstartup_cmd = Command::new(&compiler.rustc);
build_rtstartup_cmd
.arg("-Ainternal_features") // Missing #[allow(internal_features)]
.arg("--target")
.arg(&compiler.triple)
.arg("--emit=obj")
Expand Down

0 comments on commit 8f9ac9c

Please sign in to comment.