diff options
| author | Jubilee Young <workingjubilee@gmail.com> | 2023-10-28 23:20:55 -0700 |
|---|---|---|
| committer | Jubilee Young <workingjubilee@gmail.com> | 2023-10-28 23:24:25 -0700 |
| commit | 208f378ef18aa1d8d9482caa7fa5ab8ab190d2f3 (patch) | |
| tree | 3a4d45d645834e63a32e6d2907319209f429527f /compiler/rustc_codegen_llvm/src/back | |
| parent | 0c1a452304a832428c629e083d61d58e4a077018 (diff) | |
| download | rust-208f378ef18aa1d8d9482caa7fa5ab8ab190d2f3.tar.gz rust-208f378ef18aa1d8d9482caa7fa5ab8ab190d2f3.zip | |
Remove asmjs from compiler
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/back')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/back/write.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/compiler/rustc_codegen_llvm/src/back/write.rs b/compiler/rustc_codegen_llvm/src/back/write.rs index 9d5204034de..8d335ff1718 100644 --- a/compiler/rustc_codegen_llvm/src/back/write.rs +++ b/compiler/rustc_codegen_llvm/src/back/write.rs @@ -990,11 +990,7 @@ unsafe fn embed_bitcode( // reason (see issue #90326 for historical background). let is_aix = target_is_aix(cgcx); let is_apple = target_is_apple(cgcx); - if is_apple - || is_aix - || cgcx.opts.target_triple.triple().starts_with("wasm") - || cgcx.opts.target_triple.triple().starts_with("asmjs") - { + if is_apple || is_aix || cgcx.opts.target_triple.triple().starts_with("wasm") { // We don't need custom section flags, create LLVM globals. let llconst = common::bytes_in_context(llcx, bitcode); let llglobal = llvm::LLVMAddGlobal( |
