configure: fix rust meson configuration
It was incorrectly set on the [host_machine] and caused error:
File "/tmp/qemu-test/build/pyvenv/lib/python3.11/site-packages/mesonbuild/envconfig.py", line 281, in from_literal
assert all(isinstance(v, str) for v in raw.values()), 'for mypy'
AssertionError: for mypy
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-ID: <20250924120426.2158655-7-marcandre.lureau@redhat.com>
This commit is contained in:
parent
51a6211908
commit
c102f036bf
1 changed files with 1 additions and 1 deletions
2
configure
vendored
2
configure
vendored
|
|
@ -1958,7 +1958,7 @@ if test "$skip_meson" = no; then
|
|||
echo "[binaries]" >> $native
|
||||
echo "c = [$(meson_quote $host_cc)]" >> $native
|
||||
if test "$rust" != disabled; then
|
||||
echo "rust = [$(meson_quote $rustc)]" >> $cross
|
||||
echo "rust = [$(meson_quote $rustc)]" >> $native
|
||||
fi
|
||||
mv $native config-meson.native
|
||||
meson_option_add --native-file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue