about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-01-18 22:00:42 +0100
committerGitHub <noreply@github.com>2022-01-18 22:00:42 +0100
commitdd621a4c5cd967815cdf5ffcbe598a6fd9a3b839 (patch)
tree4d52652e8f1fe926c2ffda05281527bff162348b /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent9ad5d82f822b3cb67637f11be2e65c5662b66ec0 (diff)
parent0cf7fd1208f79a0f1cbf6341871bf6eaa0319abb (diff)
downloadrust-dd621a4c5cd967815cdf5ffcbe598a6fd9a3b839.tar.gz
rust-dd621a4c5cd967815cdf5ffcbe598a6fd9a3b839.zip
Rollup merge of #90782 - ricobbe:binutils-dlltool, r=michaelwoerister
Implement raw-dylib support for windows-gnu

Add support for `#[link(kind = "raw-dylib")]` on windows-gnu targets.  Work around binutils's linker's inability to read import libraries produced by LLVM by calling out to the binutils `dlltool` utility to create an import library from a temporary .DEF file; this approach is effectively a slightly refined version of `@mati865's` earlier attempt at this strategy in PR #88801.  (In particular, this attempt at this strategy adds support for `#[link_ordinal(...)]` as well.)

In support of #58713.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions