summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2022-06-30 15:01:38 -0400
committerAlex Gaynor <alex.gaynor@gmail.com>2022-10-04 07:39:51 -0400
commitc65c36242e99ddbf787dcdd9bd2d14f42f7cfce6 (patch)
treef929294341d97a5cc916d714f3da894e4fdd3a55 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent6b139c5b3e2bad623bdbd8583bc4f2b0f763113a (diff)
downloadrust-c65c36242e99ddbf787dcdd9bd2d14f42f7cfce6.tar.gz
rust-c65c36242e99ddbf787dcdd9bd2d14f42f7cfce6.zip
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 using `object` to extract a library for the target platform when passed a univeral library.

Fixes #55235
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions