diff options
| author | bors <bors@rust-lang.org> | 2023-08-29 21:17:13 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-08-29 21:17:13 +0000 |
| commit | 84a9f4c6e6f0f02bff9acc9a5e0305a1554a87fc (patch) | |
| tree | c6bf45eeb83c65c90edae9d28f90f4d85f2a561f /compiler/rustc_interface/src | |
| parent | 83995f320c13c05a70b460ac1cf5d9d87b497f1e (diff) | |
| parent | 2939e8534aabcf5777a648a3d1c3d68953fdfa44 (diff) | |
| download | rust-84a9f4c6e6f0f02bff9acc9a5e0305a1554a87fc.tar.gz rust-84a9f4c6e6f0f02bff9acc9a5e0305a1554a87fc.zip | |
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.
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions
