qemu/rust
Paolo Bonzini 465a4b80e2 rust: qemu_api_macros: make pattern matching more readable and efficient
"let ... else" is useful when visiting syntax trees; it avoids multiple
levels of indentation and places the error close to the pattern.

While at it, use "ref" to avoid moving the syntax tree objects.

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-05-06 16:02:04 +02:00
..
hw rust: use std::ffi instead of std::os::raw 2025-05-06 16:02:04 +02:00
qemu-api rust: use std::ffi instead of std::os::raw 2025-05-06 16:02:04 +02:00
qemu-api-macros rust: qemu_api_macros: make pattern matching more readable and efficient 2025-05-06 16:02:04 +02:00
.gitignore rust: add bindgen step as a meson dependency 2024-10-11 12:32:17 +02:00
Cargo.lock rust: subprojects: add libc crate 2025-02-25 10:49:23 +01:00
Cargo.toml meson, cargo: require Rust 1.77.0 2025-05-06 16:02:04 +02:00
clippy.toml meson, cargo: require Rust 1.77.0 2025-05-06 16:02:04 +02:00
Kconfig rust: add PL011 device model 2024-11-05 14:18:15 +01:00
meson.build rust: build: add "make clippy", "make rustfmt", "make rustdoc" 2024-12-10 18:44:06 +01:00
rustfmt.toml rust: add crate to expose bindings and interfaces 2024-10-11 12:32:17 +02:00
wrapper.h include/system: Move exec/address-spaces.h to system/address-spaces.h 2025-04-23 14:08:21 -07:00