diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2025-02-27 13:36:49 +0100 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-06-03 22:42:18 +0200 |
| commit | 4f04a4eaf0576a5a5a1c347b63d17b4d5244c979 (patch) | |
| tree | 39a171098636194749a776bf45a22ca413b7c771 /docs/devel | |
| parent | 0074a471477d56723bd6fd044b78c30ff5958f56 (diff) | |
| download | focaccia-qemu-4f04a4eaf0576a5a5a1c347b63d17b4d5244c979.tar.gz focaccia-qemu-4f04a4eaf0576a5a5a1c347b63d17b4d5244c979.zip | |
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>
Diffstat (limited to 'docs/devel')
| -rw-r--r-- | docs/devel/rust.rst | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/docs/devel/rust.rst b/docs/devel/rust.rst index 171d908e0b..11328c05b4 100644 --- a/docs/devel/rust.rst +++ b/docs/devel/rust.rst @@ -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 ''''''''''''''' |