mirror of
https://gitlab.com/qemu-project/qemu.git
synced 2026-08-26 22:23:12 -04:00
meson: use compiler_target() to get rustc target
The new method in Meson 1.11.x removes the need to pass the triple via config-host.mak. Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
530a9eb2c6
commit
aaac1f8229
2 changed files with 1 additions and 4 deletions
3
configure
vendored
3
configure
vendored
|
|
@ -1740,9 +1740,6 @@ if test "$container_command" != ""; then
|
|||
echo "CONTAINER_COMMAND=$container_command" >> $config_host_mak
|
||||
fi
|
||||
echo "SUBDIRS=$subdirs" >> $config_host_mak
|
||||
if test "$rust" != disabled; then
|
||||
echo "RUST_TARGET_TRIPLE=$rust_target_triple" >> $config_host_mak
|
||||
fi
|
||||
echo "PYTHON=$python" >> $config_host_mak
|
||||
echo "MKVENV_ENSUREGROUP=$mkvenv ensuregroup $mkvenv_online_flag" >> $config_host_mak
|
||||
echo "GENISOIMAGE=$genisoimage" >> $config_host_mak
|
||||
|
|
|
|||
|
|
@ -4747,7 +4747,7 @@ else
|
|||
endif
|
||||
summary_info += {'Rust support': have_rust}
|
||||
if have_rust
|
||||
summary_info += {'Rust target': config_host['RUST_TARGET_TRIPLE']}
|
||||
summary_info += {'Rust target': rust.compiler_target(native: false)}
|
||||
summary_info += {'rustc': ' '.join(rustc.cmd_array())}
|
||||
summary_info += {'rustc version': rustc.version()}
|
||||
summary_info += {'rustdoc': rustdoc}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue