Skip to content

Commit 17186ea

Browse files
authored
Be more specific about not passing -c to armasm[64].exe. (#869)
4ce4117 passes non-.asm files to the C compiler driver, which unlike armasm[64].exe does require -c flag.
1 parent 7ee0f86 commit 17186ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1535,7 +1535,7 @@ impl Build {
15351535
&mut cmd, &obj.dst, self.cuda, msvc, clang, gnu, is_asm, is_arm,
15361536
);
15371537
// armasm and armasm64 don't requrie -c option
1538-
if !msvc || !is_asm || !is_arm {
1538+
if !is_assembler_msvc || !is_arm {
15391539
cmd.arg("-c");
15401540
}
15411541
if self.cuda && self.cuda_file_count() > 1 {

0 commit comments

Comments
 (0)