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 <[email protected]> > Subject: [PATCH 11/33] rust: remove unused global qemu "allocator" > X-Mailer: git-send-email 2.51.0 > > From: Marc-André Lureau <[email protected]> > > 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 <[email protected]> > Link: > https://lore.kernel.org/r/[email protected] > Signed-off-by: Paolo Bonzini <[email protected]> > --- > 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 <[email protected]>
