From 2bc4c03eb8180f2852f773054c75cfcfe42e9cc3 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 3 Sep 2020 17:49:09 -0700 Subject: [PATCH] Disable use of `--eh-frame-hdr` on wasm32. --- compiler/rustc_target/src/spec/wasm32_base.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/rustc_target/src/spec/wasm32_base.rs b/compiler/rustc_target/src/spec/wasm32_base.rs index 62fc8f06183..a7957d84cbe 100644 --- a/compiler/rustc_target/src/spec/wasm32_base.rs +++ b/compiler/rustc_target/src/spec/wasm32_base.rs @@ -83,6 +83,7 @@ pub fn options() -> TargetOptions { dll_prefix: String::new(), dll_suffix: ".wasm".to_string(), linker_is_gnu: false, + eh_frame_header: false, max_atomic_width: Some(64),