diff options
| author | Hood Chatham <roberthoodchatham@gmail.com> | 2022-06-15 12:33:27 -0700 |
|---|---|---|
| committer | Hood Chatham <roberthoodchatham@gmail.com> | 2022-06-18 17:48:00 -0700 |
| commit | 3fb6d45af9c9e8a682da743f6d920bb5b6dd66de (patch) | |
| tree | 907d559b27c7aa9ce4dd766251582daf67460403 /compiler/rustc_codegen_ssa | |
| parent | 8e430bfa9a6a9d81b25bddf6325069d217dc6f3f (diff) | |
| download | rust-3fb6d45af9c9e8a682da743f6d920bb5b6dd66de.tar.gz rust-3fb6d45af9c9e8a682da743f6d920bb5b6dd66de.zip | |
ENH Move --memory-init-file flag from EmLinker to asmjs target spec
Diffstat (limited to 'compiler/rustc_codegen_ssa')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/back/linker.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_ssa/src/back/linker.rs b/compiler/rustc_codegen_ssa/src/back/linker.rs index ee097b5f051..8ac5f094cf6 100644 --- a/compiler/rustc_codegen_ssa/src/back/linker.rs +++ b/compiler/rustc_codegen_ssa/src/back/linker.rs @@ -1120,8 +1120,6 @@ 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 pgo_gen(&mut self) { |
