about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDan Gohman <dev@sunfishcode.online>2020-09-03 17:49:09 -0700
committerDan Gohman <dev@sunfishcode.online>2020-09-03 17:50:48 -0700
commit2bc4c03eb8180f2852f773054c75cfcfe42e9cc3 (patch)
tree7ac51857840b81338b25f130544ad493daf9db93
parent0d0f6b113047b2cf9afbde990cee30fd5b866469 (diff)
downloadrust-2bc4c03eb8180f2852f773054c75cfcfe42e9cc3.tar.gz
rust-2bc4c03eb8180f2852f773054c75cfcfe42e9cc3.zip
Disable use of `--eh-frame-hdr` on wasm32.
-rw-r--r--compiler/rustc_target/src/spec/wasm32_base.rs1
1 files changed, 1 insertions, 0 deletions
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),