Skip to content

Commit f35b598

Browse files
committed
Disable memory init file until further notice
It's support is currently too buggy in both Rust tests and Cargo.
1 parent 84c2a67 commit f35b598

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/librustc_trans/back/linker.rs

+2
Original file line numberDiff line numberDiff line change
@@ -570,6 +570,8 @@ impl<'a> Linker for EmLinker<'a> {
570570
OptLevel::Size => "-Os",
571571
OptLevel::SizeMin => "-Oz"
572572
});
573+
// Unusable until https://github.com/rust-lang/rust/issues/38454 is resolved
574+
self.cmd.args(&["--memory-init-file", "0"]);
573575
}
574576

575577
fn debuginfo(&mut self) {

0 commit comments

Comments
 (0)