rust/compiler/rustc_codegen_ssa/src/back
bors daaae25022 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.
2022-07-26 01:47:34 +00:00
..
rpath Remove LibSource 2021-07-05 10:49:07 +02:00
archive.rs Enable raw-dylib for binaries 2022-07-22 09:55:14 -07:00
command.rs Reduce usage of Symbol in the linker code 2022-06-28 18:38:36 +00:00
link.rs Auto merge of #98989 - dpaoliello:rawdylibbin, r=michaelwoerister 2022-07-26 01:47:34 +00:00
linker.rs feat: impl export-executable-symbols 2022-07-25 05:20:23 +00:00
lto.rs Merge new_metadata into codegen_allocator 2022-04-30 21:20:08 +02:00
metadata.rs move emit_metadata to rustc_metadata::fs 2022-07-02 22:48:16 +09:00
mod.rs Use the object crate for metadata reading 2021-05-07 18:48:58 +02:00
rpath.rs pass -Wl,-z,origin to set DF_ORIGIN when using rpath 2021-12-17 11:27:14 +00:00
symbol_export.rs Rename debugging_opts to unstable_opts 2022-07-13 17:47:06 -05:00
write.rs rustc: add ability to output regular LTO bitcode modules 2022-07-14 22:21:26 +03:00