mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-26 14:43:24 +00:00
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
@ -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),
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user