rust: correct mistake in previous host-build fix
authorJonas Jelonek <jelonek.jonas@gmail.com>
Thu, 17 Aug 2023 08:57:16 +0000 (10:57 +0200)
committerTianling Shen <cnsztl@gmail.com>
Sat, 19 Aug 2023 06:26:43 +0000 (14:26 +0800)
commitc287e98af2701f0c5ab4030b9907ea3d89e303ce
tree73b1c5c3bea24e28db505ec32f14f0a83a5a6b27
parent23113ceb97dbc1ad5d3caba83b72dbb1d0a69a37
rust: correct mistake in previous host-build fix

Fixes the commit 105fa3920e which was intended to make rust/host build
on aarch64 darwin working again. However, the fix contains a mistake
because it sets RUSTC_TARGET_ARCH instead of RUSTC_HOST_ARCH. Thus, the
fix doesn't work.
This properly sets the correct variable RUSTC_HOST_ARCH.

Fixes: 105fa3920e ("rust: fix host build on aarch64 darwin")
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
lang/rust/rust-values.mk