mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
rust: use "objects" for Rust executables as well
libqemuutil is not meant be linked as a whole; if modules are enabled, doing so results in undefined symbols (corresponding to QMP commands) in rust/qemu-api/rust-qemu-api-integration. Support for "objects" in Rust executables is available in Meson 1.8.0; use it to switching to the same dependencies that C targets use: link_with for libqemuutil, and objects for everything else. Reported-by: Bernhard Beschow <shentey@gmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
0074a47147
commit
4f04a4eaf0
3 changed files with 7 additions and 24 deletions
|
@ -66,8 +66,6 @@ be run via ``meson test`` or ``make``::
|
|||
|
||||
make check-rust
|
||||
|
||||
Building Rust code with ``--enable-modules`` is not supported yet.
|
||||
|
||||
Supported tools
|
||||
'''''''''''''''
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue