Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f35b598

Browse files
committedFeb 10, 2017
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

Lines changed: 2 additions & 0 deletions
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)
Please sign in to comment.