rust/compiler/rustc_codegen_ssa/src
bors 84a9f4c6e6 Auto merge of #114114 - keith:ks/always-add-lc_build_version-for-metadata-object-files, r=wesleywiser
Always add LC_BUILD_VERSION for metadata object files

As of Xcode 15 Apple's linker has become a bit more strict about the warnings it produces. One of those new warnings requires all valid Mach-O object files in an archive to have a LC_BUILD_VERSION load command:

```
ld: warning: no platform load command found in 'ARCHIVE[arm64][2106](lib.rmeta)', assuming: iOS-simulator
```

This was already being done for Mac Catalyst so this change expands this logic to include it for all Apple platforms. I filed this behavior change as FB12546320 and was told it was the new intentional behavior.
2023-08-29 21:17:13 +00:00
..
back Always add LC_BUILD_VERSION for metadata object files 2023-08-21 13:31:57 -07:00
debuginfo inline format!() args up to and including rustc_codegen_llvm 2023-07-30 14:22:50 +02:00
mir const_eval and codegen: audit uses of is_zst 2023-08-29 09:03:46 +02:00
traits Revert "Use the same DISubprogram for each instance of the same inlined function within the caller" 2023-08-25 19:49:10 -04:00
base.rs const_eval and codegen: audit uses of is_zst 2023-08-29 09:03:46 +02:00
codegen_attrs.rs Add separate feature gate for async fn track caller 2023-08-02 14:18:21 -07:00
common.rs Promote unchecked_add/sub/mul/shl/shr to mir::BinOp 2023-06-19 01:47:03 -07:00
errors.rs Don't ICE on layout computation failure 2023-08-28 12:40:39 -07:00
glue.rs Use size_of_val instead of manual calculation 2023-03-17 19:55:49 -07:00
lib.rs Remove unnecessary feature gates 2023-08-12 00:21:04 -04: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 add details for csky-unknown-linux-gnuabiv2 and add docs 2023-08-14 23:02:37 +08:00