On 6/2/25 09:49, Markus Armbruster wrote:
Paolo Bonzini <pbonz...@redhat.com> writes:
As explained for v1, the impetus for this series is to remove BqlCell<>
from HPETState::num_timers. However, it's also an important step for QAPI:
error propagation is pretty central for example to QMP, and the series
is also a first example of two-way conversion between C and native-Rust
structs (i.e. not using bindgen-generated structs or their opaque wrappers).
As an aside, support for NUL-terminated file is now scheduled for
inclusion in Rust as "panic::Location::file_with_nul()", but it will be
quite a while before QEMU can use it. For more information, see
https://github.com/rust-lang/rust/issues/141727.
Doen't apply for me on current master (3e82ddaa8db). What's your base?
I have a few more patches queued before this series. For something that
applies directly on top of master, you can check branch rust-next at
https://gitlab.com/bonzini/qemu.
You'll also need Meson 1.8.1, which you can install via pip, because
Daniel preferred not to have such a new version required for everyone.
Paolo