Try linking to -lunwind on Windows

This commit is contained in:
Felix Schütt
2023-01-02 18:15:36 +01:00
parent c217b8df34
commit f44c6bd83f

View File

@@ -1160,7 +1160,6 @@ fn link_exe_from_dir(
cmd.arg("-I"); cmd.arg("-I");
cmd.arg(normalize_path(&format!("{}", include_path.display()))); cmd.arg(normalize_path(&format!("{}", include_path.display())));
#[cfg(not(windows))]
cmd.arg("-lunwind"); cmd.arg("-lunwind");
cmd.arg("-OReleaseSafe"); cmd.arg("-OReleaseSafe");
cmd.arg("-fno-compiler-rt"); cmd.arg("-fno-compiler-rt");