diff options
| author | Dan Gohman <dev@sunfishcode.online> | 2020-09-03 17:49:09 -0700 |
|---|---|---|
| committer | Dan Gohman <dev@sunfishcode.online> | 2020-09-03 17:50:48 -0700 |
| commit | 2bc4c03eb8180f2852f773054c75cfcfe42e9cc3 (patch) | |
| tree | 7ac51857840b81338b25f130544ad493daf9db93 | |
| parent | 0d0f6b113047b2cf9afbde990cee30fd5b866469 (diff) | |
| download | rust-2bc4c03eb8180f2852f773054c75cfcfe42e9cc3.tar.gz rust-2bc4c03eb8180f2852f773054c75cfcfe42e9cc3.zip | |
Disable use of `--eh-frame-hdr` on wasm32.
| -rw-r--r-- | compiler/rustc_target/src/spec/wasm32_base.rs | 1 |
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), |
