rust/compiler/rustc_codegen_ssa/src
bors ccb160d343 Auto merge of #117115 - zetafunction:linking, r=bjorn3
Mark .rmeta files as /SAFESEH on x86 Windows.

Chrome links .rlibs with /WHOLEARCHIVE or -Wl,--whole-archive to prevent the linker from discarding static initializers. This works well, except on Windows x86, where lld complains:

  error: /safeseh: lib.rmeta is not compatible with SEH

The fix is simply to mark the .rmeta as SAFESEH aware. This is trivially true, since the metadata file does not contain any executable code.
2023-10-26 04:04:50 +00:00
..
back Mark .rmeta files as /SAFESEH on x86 Windows. 2023-10-24 13:42:28 -07:00
debuginfo Rename AsyncCoroutineKind to CoroutineSource 2023-10-25 16:14:05 +00:00
mir s/generator/coroutine/ 2023-10-20 21:14:01 +00:00
traits Rollup merge of #116223 - catandcoder:master, r=cjgillot 2023-10-05 00:56:29 -07:00
assert_module_sources.rs Fix review comments 2023-10-09 18:39:43 +00:00
base.rs Remove cgu_reuse_tracker from Session 2023-10-09 18:39:41 +00:00
codegen_attrs.rs Format all the let chains in compiler 2023-10-13 08:59:36 +00:00
common.rs move ConstValue into mir 2023-09-19 11:11:02 +02:00
errors.rs Remove cgu_reuse_tracker from Session 2023-10-09 18:39:41 +00:00
glue.rs Use size_of_val instead of manual calculation 2023-03-17 19:55:49 -07:00
lib.rs Auto merge of #115964 - bjorn3:cgu_reuse_tracker_global_state, r=cjgillot 2023-10-13 00:09:30 +00:00
meth.rs cg_ssa: remove pointee types and pointercast/bitcast-of-ptr 2023-07-29 13:18:20 -04:00
mono_item.rs inline format!() args up to and including rustc_codegen_llvm 2023-07-30 14:22:50 +02:00
target_features.rs compiler: Add target features for LoongArch 2023-10-24 09:36:47 +08:00