Disable use of `--eh-frame-hdr` on wasm32.

This commit is contained in:
Dan Gohman 2020-09-03 17:49:09 -07:00
parent 0d0f6b1130
commit 2bc4c03eb8
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),