1
Fork 0

Disable memory init file until further notice

It's support is currently too buggy in both Rust tests and Cargo.
This commit is contained in:
Ingvar Stepanyan 2017-02-10 17:12:18 +00:00
parent 84c2a67160
commit f35b598bbf

View file

@ -570,6 +570,8 @@ impl<'a> Linker for EmLinker<'a> {
OptLevel::Size => "-Os", OptLevel::Size => "-Os",
OptLevel::SizeMin => "-Oz" OptLevel::SizeMin => "-Oz"
}); });
// Unusable until https://github.com/rust-lang/rust/issues/38454 is resolved
self.cmd.args(&["--memory-init-file", "0"]);
} }
fn debuginfo(&mut self) { fn debuginfo(&mut self) {