qemu-cr16/rust/qemu-api/src
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
..
assertions.rs rust: assertions: Support index field wrapped in BqlCell 2025-05-02 17:37:46 +02:00
bindings.rs virtio,pci,pc: features, fixes, tests 2025-07-16 07:00:47 -04:00
bitops.rs rust: Fix Zhao's email address 2025-05-26 18:04:27 +02:00
callbacks.rs rust: callbacks: allow passing optional callbacks as () 2025-02-13 12:19:33 +01:00
cell.rs rust: cell: remove support for running doctests with "cargo test --doc" 2025-06-03 22:42:18 +02:00
chardev.rs rust: enable clippy::ptr_cast_constness 2025-05-06 16:02:04 +02:00
errno.rs rust: add module to convert between success/-errno and io::Result 2025-02-25 16:18:08 +01:00
error.rs rust: qemu-api: add tests for Error bindings 2025-06-05 20:24:51 +02:00
irq.rs rust: use std::ffi instead of std::os::raw 2025-05-06 16:02:04 +02:00
lib.rs rust: declare self as qemu_api for proc-macros 2025-08-27 10:57:04 +02:00
log.rs rust/qemu-api: log: implement io::Write 2025-07-10 18:33:51 +02:00
memory.rs rust: qom: change instance_init to take a ParentInit<> 2025-06-17 09:54:52 +02:00
module.rs rust: rename qemu-api modules to follow C code a bit more 2024-12-19 19:36:37 +01:00
prelude.rs rust/qemu-api: Add initial logging support based on C API 2025-06-20 13:25:59 +02:00
qdev.rs rust: qom: change instance_init to take a ParentInit<> 2025-06-17 09:54:52 +02:00
qom.rs rust: qom: change instance_init to take a ParentInit<> 2025-06-17 09:54:52 +02:00
sysbus.rs rust: sysbus: wrap SysBusDevice with Opaque<> 2025-03-06 12:44:47 +01:00
timer.rs rust: Fix Zhao's email address 2025-05-26 18:04:27 +02:00
uninit.rs rust: qemu_api: introduce MaybeUninit field projection 2025-06-17 09:54:51 +02:00
vmstate.rs rust: Fix the typos in doc 2025-05-26 18:04:27 +02:00
zeroable.rs rust: use MaybeUninit::zeroed() in const context 2025-05-06 16:02:04 +02:00