You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/rust
Paolo Bonzini bc2a48d647 rust: make TryFrom macro more resilient
If the enum includes values such as "Ok", "Err", or "Error", the TryInto
macro can cause errors.  Be careful and qualify identifiers with the full
path, or in the case of TryFrom<>::Error do not use the associated type
at all.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
1 day ago
..
bits rust: add "bits", a custom bitflags implementation 4 days ago
hw rust/hpet: Drop BqlCell wrapper for num_timers 1 day ago
qemu-api rust: qdev: support returning errors from realize 1 day ago
qemu-api-macros rust: make TryFrom macro more resilient 1 day ago
.gitignore
Cargo.lock rust: qemu-api: add bindings to Error 2 days ago
Cargo.toml rust: qemu-api: add bindings to Error 2 days ago
Kconfig rust: add PL011 device model 7 months ago
meson.build subprojects: add the foreign crate 2 days ago
rustfmt.toml rust: add crate to expose bindings and interfaces 8 months ago
wrapper.h util/error: expose Error definition to Rust code 2 days ago