Re: [PATCH 19/23] rust: do not use --generate-cstr

2024-10-25 Thread Pierrick Bouvier
On 10/25/24 13:10, Michael Tokarev wrote: 25.10.2024 23:06, Pierrick Bouvier wrote: On 10/25/24 13:03, Michael Tokarev wrote: 25.10.2024 19:02, Paolo Bonzini wrote: --generate-cstr is a good idea and generally the right thing to do, but it is not available in Debian 12 and Ubuntu 22.04.  Work

Re: [PATCH 19/23] rust: do not use --generate-cstr

2024-10-25 Thread Michael Tokarev
25.10.2024 23:06, Pierrick Bouvier wrote: On 10/25/24 13:03, Michael Tokarev wrote: 25.10.2024 19:02, Paolo Bonzini wrote: --generate-cstr is a good idea and generally the right thing to do, but it is not available in Debian 12 and Ubuntu 22.04.  Work around the absence. Can't we just install

Re: [PATCH 19/23] rust: do not use --generate-cstr

2024-10-25 Thread Paolo Bonzini
Il ven 25 ott 2024, 22:03 Michael Tokarev ha scritto: > 25.10.2024 19:02, Paolo Bonzini wrote: > > --generate-cstr is a good idea and generally the right thing to do, > > but it is not available in Debian 12 and Ubuntu 22.04. Work around > > the absence. > > Can't we just install a more recent b

Re: [PATCH 19/23] rust: do not use --generate-cstr

2024-10-25 Thread Pierrick Bouvier
On 10/25/24 13:03, Michael Tokarev wrote: 25.10.2024 19:02, Paolo Bonzini wrote: --generate-cstr is a good idea and generally the right thing to do, but it is not available in Debian 12 and Ubuntu 22.04. Work around the absence. Can't we just install a more recent bindgen and use all the curr

Re: [PATCH 19/23] rust: do not use --generate-cstr

2024-10-25 Thread Michael Tokarev
25.10.2024 19:02, Paolo Bonzini wrote: --generate-cstr is a good idea and generally the right thing to do, but it is not available in Debian 12 and Ubuntu 22.04. Work around the absence. Can't we just install a more recent bindgen and use all the current features of it, like it's done in patch

[PATCH 19/23] rust: do not use --generate-cstr

2024-10-25 Thread Paolo Bonzini
--generate-cstr is a good idea and generally the right thing to do, but it is not available in Debian 12 and Ubuntu 22.04. Work around the absence. Signed-off-by: Paolo Bonzini --- meson.build | 4 +++- rust/hw/char/pl011/src/device.rs | 1 + rust/qemu-api/src/device_cl