diff options
| author | Alex Zepeda <github@inferiorhumanorgans.com> | 2023-08-07 17:11:01 -0700 |
|---|---|---|
| committer | Alex Zepeda <github@inferiorhumanorgans.com> | 2023-08-07 17:19:30 -0700 |
| commit | 6ef7813cf0a7f591ec6709e06a4ce1c1ebc8f223 (patch) | |
| tree | fdfe1714aee2a0d51ff277e9090ed1a95154538a /compiler/rustc_mir_transform/src/coverage/debug.rs | |
| parent | 14dd4e97a80c55a9140017ab13d0d8000977b274 (diff) | |
| download | rust-6ef7813cf0a7f591ec6709e06a4ce1c1ebc8f223.tar.gz rust-6ef7813cf0a7f591ec6709e06a4ce1c1ebc8f223.zip | |
rustc_llvm: Link `zlib` on cross Solaris builds
On native builds `llvm-config` picks up `zlib` and this gets pased into the rust build tools, but on cross builds `llvm-config` is explicitly ignored as it contains information for the host system and cannot be trusted to be accurate for the target system. Both DragonFly and Solaris contain `zlib` in the base system, so this is both a safe assumption and required for a successful cross build unless `zlib` support is disabled in LLVM. This is more or less in the same vein as #75713 and #75655.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions
