diff options
| author | Alyssa Ross <hi@alyssa.is> | 2024-02-28 23:10:07 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-28 23:10:07 +0100 |
| commit | 79156bf13ae76389684d4f3bd94a88639d835213 (patch) | |
| tree | f24cadde9586bdabeb5b55fe6392e5c92158a753 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | 5134b74edfb4fd8aab15254c42dc8c362a1505b7 (diff) | |
rustc: move crt-static default override to wrapper (#291829)
Previously, when cross compiling from non-musl to musl, the crt-static
default override wouldn't be applied, because the compiler wouldn't
have been built with it due to fastCross. Moving it to the wrapper
fixes this without having to introduce extra compiler rebuilds. And
because the wrapper is applied even to the bootstrap rustc, we no
longer need special handling of crt-static in the Cargo expression.
Unlike --sysroot, rustc allows -C target-feature= to be passed
multiple times, with later instances taking precedence over earlier
ones. This means that it's very easy to set the default in the
wrapper, just by our overridden default before any other arguments.
This fixes pkgsCross.aarch64-multiplatform-musl.mesa from x86_64-linux.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
