From e0226791747795664a314b5d096b7a4cb0d4b388 Mon Sep 17 00:00:00 2001 From: Russell Greene Date: Wed, 20 Mar 2024 23:59:44 -0600 Subject: [PATCH] use msvc-style args for msvc --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index e71be602..94567fb2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1600,7 +1600,7 @@ impl Build { ) }; let is_arm = target.contains("aarch64") || target.contains("arm"); - if is_assembler_msvc { + if is_assembler_msvc || compiler.is_like_msvc() { let mut out_arg = OsString::from("/Fo"); out_arg.push(&obj.dst); cmd.arg(out_arg);