Commit 17542ac
authored
Rollup merge of #122790 - Zoxc:dllimp-rev, r=ChrisDenton
Apply dllimport in ThinLTO
This partially reverts rust-lang/rust#103353 by properly applying `dllimport` if `-Z dylib-lto` is passed. That PR should probably fully be reverted as it looks quite sketchy. We don't know locally if the entire crate graph would be statically linked.
This should hopefully be sufficient to make ThinLTO work for rustc on Windows.
r? ``@wesleywiser``
---
Edit: This PR is changed to just generally revert rust-lang/rust#103353.File tree
0 file changed
+0
-0
lines changed0 file changed
+0
-0
lines changed
0 commit comments