qemu-cr16/rust
Manos Pitsidianakis 4344b358a8 rust: declare self as qemu_api for proc-macros
Fix an outstanding TODO.

Declaring `extern crate self as qemu_api` allows use of `qemu_api`
within the qemu_api crate; this allows the Wrapper derive macro and
future proc macros to be used interchangeably in the qemu_api crate and
other crates. This is not required currently and is only for
future-proofing.

Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Link: https://lore.kernel.org/r/20250728-self-as-qemu_api-v1-1-001c339cccc8@linaro.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-08-27 10:57:04 +02:00
..
bits rust: add "bits", a custom bitflags implementation 2025-06-03 22:44:40 +02:00
hw rust/pl011: merge device_class.rs into device.rs 2025-07-22 12:49:51 +02:00
qemu-api rust: declare self as qemu_api for proc-macros 2025-08-27 10:57:04 +02:00
qemu-api-macros rust: declare self as qemu_api for proc-macros 2025-08-27 10:57:04 +02:00
.gitignore
Cargo.lock subprojects: update proc-macro2 and syn 2025-08-27 10:57:04 +02:00
Cargo.toml rust: disable borrow_as_ptr warning 2025-08-27 10:57:04 +02:00
Kconfig rust: add PL011 device model 2024-11-05 14:18:15 +01:00
meson.build rust: move rust.bindgen to qemu-api crate 2025-06-20 13:24:42 +02:00
rustfmt.toml rust: add crate to expose bindings and interfaces 2024-10-11 12:32:17 +02:00