On Mon, Sep 08, 2025 at 12:49:43PM +0200, Paolo Bonzini wrote: > Date: Mon, 8 Sep 2025 12:49:43 +0200 > From: Paolo Bonzini <pbonz...@redhat.com> > Subject: [PATCH 11/33] rust: remove unused global qemu "allocator" > X-Mailer: git-send-email 2.51.0 > > From: Marc-André Lureau <marcandre.lur...@redhat.com> > > The global allocator has always been disabled. There is no clear reason > Rust and C should use the same allocator. Allocations made from Rust > must be freed by Rust, and same for C, otherwise we head into troubles. > > Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com> > Link: > https://lore.kernel.org/r/20250827104147.717203-3-marcandre.lur...@redhat.com > Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> > --- > meson.build | 4 -- > rust/Cargo.toml | 2 +- > rust/qemu-api/Cargo.toml | 1 - > rust/qemu-api/meson.build | 1 - > rust/qemu-api/src/lib.rs | 135 -------------------------------------- > 5 files changed, 1 insertion(+), 142 deletions(-)
Reviewed-by: Zhao Liu <zhao1....@intel.com>