From f44c6bd83fa05b19c3a4a5a892a123c99f91bc6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Sch=C3=BCtt?= Date: Mon, 2 Jan 2023 18:15:36 +0100 Subject: [PATCH] Try linking to -lunwind on Windows --- lib/cli/src/commands/create_exe.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/cli/src/commands/create_exe.rs b/lib/cli/src/commands/create_exe.rs index 4b573e93f..5b843bd50 100644 --- a/lib/cli/src/commands/create_exe.rs +++ b/lib/cli/src/commands/create_exe.rs @@ -1160,7 +1160,6 @@ fn link_exe_from_dir( cmd.arg("-I"); cmd.arg(normalize_path(&format!("{}", include_path.display()))); - #[cfg(not(windows))] cmd.arg("-lunwind"); cmd.arg("-OReleaseSafe"); cmd.arg("-fno-compiler-rt");