Skip to content

Commit

Permalink
use msvc-style args for msvc
Browse files Browse the repository at this point in the history
  • Loading branch information
russelltg committed Mar 21, 2024
1 parent 8b7ed60 commit e022679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e022679

Please sign in to comment.