make exceptions work on linux again

This commit is contained in:
Folkert 2020-12-21 02:12:30 +01:00
parent afd3991bc9
commit 725d52f7c6
4 changed files with 65 additions and 33 deletions

View file

@ -253,6 +253,7 @@ fn link_linux(
.collect::<HashMap<String, String>>(),
)
.args(&[
"--eh-frame-hdr",
"-arch",
arch_str(target),
libcrt_path.join("crti.o").to_str().unwrap(),