diff options
| author | Jonas Jelonek <jelonek.jonas@gmail.com> | 2023-08-16 09:25:50 +0200 |
|---|---|---|
| committer | Nick Hainke <vincent@systemli.org> | 2023-08-17 09:39:24 +0200 |
| commit | 105fa3920e12f557bdf1fcbc566fc286fb53e319 (patch) | |
| tree | 4af2b752b10018f06fb5c6371849e068013a48f8 /lang/python/python-distro | |
| parent | 0e71c9f80fd9805451db733df1d875c08987fabd (diff) | |
rust: fix host build on aarch64 darwin
rust/host failed to compile on macOS running on Apple Silicon M1 Pro
because the host target triple is autogenerated to be
'arm64-unknown-linux-'. Rust doesn't have such a target triple, thus the
build failes because there are no pre-built artifacts for bootstrapping.
Fix this by setting RUSTC_HOST_ARCH to 'aarch64-apple-darwin' in case
our host is HOST_ARCH=arm64 and HOST_OS=darwin.
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Diffstat (limited to 'lang/python/python-distro')
0 files changed, 0 insertions, 0 deletions
