diff options
| author | bors <bors@rust-lang.org> | 2020-09-06 01:58:35 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-09-06 01:58:35 +0000 |
| commit | 94b8eb80abf68d7505aca3562a625ec00fa394a1 (patch) | |
| tree | 6b3a7a24692a6405167f19be66db5fa26ab32f96 /compiler | |
| parent | d39b076489a8686961204721001ccd9a9e9a5e0a (diff) | |
| parent | 2bc4c03eb8180f2852f773054c75cfcfe42e9cc3 (diff) | |
| download | rust-94b8eb80abf68d7505aca3562a625ec00fa394a1.tar.gz rust-94b8eb80abf68d7505aca3562a625ec00fa394a1.zip | |
Auto merge of #76307 - sunfishcode:wasm-no-eh-frame-header, r=alexcrichton
Disable use of `--eh-frame-hdr` on wasm32. Set wasm32's `TargetOptions::eh_frame_header` to false so that we don't pass `--eh-frame-hdr` to `wasm-ld`, which doesn't support that flag. r? @alexcrichton
Diffstat (limited to 'compiler')
| -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), |
