diff options
| author | bors <bors@rust-lang.org> | 2022-10-05 11:41:40 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-10-05 11:41:40 +0000 |
| commit | 8c71b67159e1a3d0863caf28b7cefee0160cb927 (patch) | |
| tree | ce442e01e1f02f2303faee0d685c189b7d2811dc /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | dd8c3a80dd2e5a0b62c3ef77511f3296070f78e2 (diff) | |
| parent | c65c36242e99ddbf787dcdd9bd2d14f42f7cfce6 (diff) | |
| download | rust-8c71b67159e1a3d0863caf28b7cefee0160cb927.tar.gz rust-8c71b67159e1a3d0863caf28b7cefee0160cb927.zip | |
Auto merge of #98736 - alex:lipo-magic, r=bjorn3
resolve error when attempting to link a universal library on macOS Previously attempting to link universal libraries into libraries (but not binaries) would produce an error that "File too small to be an archive". This works around this by invoking `lipo -thin` to extract a library for the target platform when passed a univeral library. Fixes #55235 It's worth acknowledging that this implementation is kind of a horrible hack. Unfortunately I don't know how to do anything better, hopefully this PR will be a jumping off point.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
