Skip to content

Commit 7f3acb5

Browse files
authored
Don't pass compiler flags to MSVC assembers. (#867)
While ml[64] ignores the compiler flags with warnings, armasm[64] rejects them and fails.
1 parent daab924 commit 7f3acb5

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/lib.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2220,9 +2220,6 @@ impl Build {
22202220
if target.contains("i686") || target.contains("i586") {
22212221
cmd.arg("-safeseh");
22222222
}
2223-
for flag in self.flags.iter() {
2224-
cmd.arg(&**flag);
2225-
}
22262223

22272224
Ok((cmd, tool.to_string()))
22282225
}

0 commit comments

Comments
 (0)