Skip to content

Commit 39ce513

Browse files
committed
[win] Ignore MSVC linker warning 4217
1 parent bc7512e commit 39ce513

File tree

1 file changed

+3
-0
lines changed
  • compiler/rustc_target/src/spec/base

1 file changed

+3
-0
lines changed

compiler/rustc_target/src/spec/base/msvc.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ pub(crate) fn opts() -> TargetOptions {
1616
// is generated by the compiler, but marked as a foreign item (hence the dllimport) in
1717
// the standard library.
1818
"/IGNORE:4286",
19+
// "Symbol was defined in one obj, but imported by another"
20+
// Same issue and root cause as 4286.
21+
"/IGNORE:4217",
1922
],
2023
);
2124

0 commit comments

Comments
 (0)