about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/builder/autodiff.rs
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-03-09 16:41:48 +0100
committerGitHub <noreply@github.com>2025-03-09 16:41:48 +0100
commit827bb5e27b846f9114b703496e16571668d7a329 (patch)
treeb29d2adc285c23d34b7e4c1d3f38125e579cc98b /compiler/rustc_codegen_llvm/src/builder/autodiff.rs
parented897d5f85d61d56a7d52b180e34c8ca62b59e30 (diff)
parentcc39e5f2665d4288cef57c00efe5623ce3859820 (diff)
downloadrust-827bb5e27b846f9114b703496e16571668d7a329.tar.gz
rust-827bb5e27b846f9114b703496e16571668d7a329.zip
Rollup merge of #122790 - Zoxc:dllimp-rev, r=ChrisDenton
Apply dllimport in ThinLTO

This partially reverts https://github.com/rust-lang/rust/pull/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 https://github.com/rust-lang/rust/pull/103353.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/builder/autodiff.rs')
0 files changed, 0 insertions, 0 deletions