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
This commit is contained in:
bors 2020-09-06 01:58:35 +00:00
commit 94b8eb80ab
1 changed files with 1 additions and 0 deletions

View File

@ -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),