rust/compiler/rustc_codegen_cranelift/src
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
..
abi Use CallConv::Cold in cranelift for extern "rust-cold" 2022-05-30 00:19:24 -07:00
debuginfo Rename debugging_opts to unstable_opts 2022-07-13 17:47:06 -05:00
driver Rename debugging_opts to unstable_opts 2022-07-13 17:47:06 -05:00
intrinsics Implement vtable_size and vtable_align intrinsics for cg_clif 2022-07-20 17:12:07 -04:00
optimize Merge commit '35d9c6bf25' into sync_cg_clif-2022-02-23 2022-02-23 11:49:34 +01:00
allocator.rs Rename debugging_opts to unstable_opts 2022-07-13 17:47:06 -05:00
analyze.rs Merge commit '05677b6bd6' into sync_cg_clif-2021-08-06 2021-08-06 16:26:56 +02:00
archive.rs Enable raw-dylib for binaries 2022-07-22 09:55:14 -07:00
base.rs Revert "Rollup merge of #98582 - oli-obk:unconstrained_opaque_type, r=estebank" 2022-07-20 07:55:58 +00:00
cast.rs Rename debugging_opts to unstable_opts 2022-07-13 17:47:06 -05:00
codegen_i128.rs Merge commit '05677b6bd6' into sync_cg_clif-2021-08-06 2021-08-06 16:26:56 +02:00
common.rs Merge commit '63734fcdd7' into sync_cg_clif-2022-05-15 2022-05-15 12:32:19 +02:00
compiler_builtins.rs Merge commit '370c397ec9' into sync_cg_clif-2022-03-20 2022-03-20 16:55:21 +01:00
config.rs Merge commit 'f2cdd4a78d' into sync_cg_clif-2022-04-22 2022-04-22 21:11:38 +02:00
constant.rs various nits from review 2022-07-20 17:12:08 -04:00
discriminant.rs Merge commit 'f2cdd4a78d' into sync_cg_clif-2022-04-22 2022-04-22 21:11:38 +02:00
inline_asm.rs Take CodegenFnAttrs into account when validating asm! register operands 2022-02-21 18:28:22 +00:00
lib.rs Rollup merge of #99155 - Amanieu:unstable-target-features, r=davidtwco 2022-07-13 19:32:36 +05:30
linkage.rs Sync rustc_codegen_cranelift 'ddd4ce2553' 2021-04-30 14:49:58 +02:00
main_shim.rs Normalize main return type during mono item collection & codegen 2022-02-23 22:33:50 +01:00
num.rs Merge commit 'f2cdd4a78d' into sync_cg_clif-2022-04-22 2022-04-22 21:11:38 +02:00
pointer.rs Merge commit '0969bc6dde' into sync_cg_clif-2021-03-29 2021-03-29 10:45:09 +02:00
pretty_clif.rs Merge commit '35d9c6bf25' into sync_cg_clif-2022-02-23 2022-02-23 11:49:34 +01:00
toolchain.rs Unify duplicate linker_and_flavor methods in rustc_codegen_{cranelift,ssa}. 2021-06-05 21:59:41 -07:00
trap.rs Merge commit '370c397ec9' into sync_cg_clif-2022-03-20 2022-03-20 16:55:21 +01:00
unsize.rs Improve AdtDef interning. 2022-03-11 13:31:24 +11:00
value_and_place.rs Revert "Rollup merge of #98582 - oli-obk:unconstrained_opaque_type, r=estebank" 2022-07-20 07:55:58 +00:00
vtable.rs Turn tcx.vtable_allocation() into a query. 2021-10-07 20:03:00 +02:00