diff options
| author | Ingvar Stepanyan <me@rreverser.com> | 2017-02-10 17:12:18 +0000 |
|---|---|---|
| committer | Ingvar Stepanyan <me@rreverser.com> | 2017-02-10 17:34:05 +0000 |
| commit | f35b598bbf3bb86f70c731b8ef981beada052a08 (patch) | |
| tree | 5d5fcc346da0bf4745ddd7ba4833916ec079f0f0 /src | |
| parent | 84c2a6716058db8d40a549f8349f7473f7b09e82 (diff) | |
| download | rust-f35b598bbf3bb86f70c731b8ef981beada052a08.tar.gz rust-f35b598bbf3bb86f70c731b8ef981beada052a08.zip | |
Disable memory init file until further notice
It's support is currently too buggy in both Rust tests and Cargo.
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc_trans/back/linker.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/librustc_trans/back/linker.rs b/src/librustc_trans/back/linker.rs index 6e409f43355..830d1d0d3a5 100644 --- a/src/librustc_trans/back/linker.rs +++ b/src/librustc_trans/back/linker.rs @@ -570,6 +570,8 @@ impl<'a> Linker for EmLinker<'a> { OptLevel::Size => "-Os", 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) { |
