about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/src/back
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-07-26 01:47:34 +0000
committerbors <bors@rust-lang.org>2022-07-26 01:47:34 +0000
commitdaaae25022cedcd7ded230170cdf48cfb799f9a2 (patch)
tree78d33cdcf2d2c8924feae2d7159acb74bd766d5a /compiler/rustc_codegen_gcc/src/back
parenta86705942c4cfaaee60f2e7308ca2bca703a710f (diff)
parent1f33785ed4a4774c5d68c78a13a24f9faf0dac55 (diff)
downloadrust-daaae25022cedcd7ded230170cdf48cfb799f9a2.tar.gz
rust-daaae25022cedcd7ded230170cdf48cfb799f9a2.zip
Auto merge of #98989 - dpaoliello:rawdylibbin, r=michaelwoerister
Enable raw-dylib for bin crates

Fixes #93842

When `raw-dylib` is used in a `bin` crate, we need to collect all of the `raw-dylib` functions, generate the import library and add that to the linker command line.

I also changed the tests so that 1) the C++ dlls are created after the Rust dlls, thus there is no chance of accidentally using them in the Rust linking process and 2) disabled generating import libraries when building with MSVC.
Diffstat (limited to 'compiler/rustc_codegen_gcc/src/back')
0 files changed, 0 insertions, 0 deletions