summary refs log tree commit diff stats
path: root/hw/core/cpu-common.c
diff options
context:
space:
mode:
authorManos Pitsidianakis <manos.pitsidianakis@linaro.org>2025-07-28 14:48:23 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2025-08-27 10:57:04 +0200
commit4344b358a8dd62591db0b7b98328511fadffca85 (patch)
tree7d96bd4ac9ed79925a41905b54924b14e8447f87 /hw/core/cpu-common.c
parent96f2c80fed20790fec0b35b774af676d5068077b (diff)
downloadfocaccia-qemu-4344b358a8dd62591db0b7b98328511fadffca85.tar.gz
focaccia-qemu-4344b358a8dd62591db0b7b98328511fadffca85.zip
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>
Diffstat (limited to 'hw/core/cpu-common.c')
0 files changed, 0 insertions, 0 deletions