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:
commit
94b8eb80ab
1 changed files with 1 additions and 0 deletions
|
@ -83,6 +83,7 @@ pub fn options() -> TargetOptions {
|
||||||
dll_prefix: String::new(),
|
dll_prefix: String::new(),
|
||||||
dll_suffix: ".wasm".to_string(),
|
dll_suffix: ".wasm".to_string(),
|
||||||
linker_is_gnu: false,
|
linker_is_gnu: false,
|
||||||
|
eh_frame_header: false,
|
||||||
|
|
||||||
max_atomic_width: Some(64),
|
max_atomic_width: Some(64),
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue