diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2025-07-17 08:02:15 +0200 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-09-22 17:17:18 +0200 |
| commit | 193f2ab6e076f0f3d07081802bee2d36eb86086f (patch) | |
| tree | 245b7dbe4ad6d0c020e3feae783fd6d56ab4fcd5 /rust/qemu-macros | |
| parent | f87a2e5c596620a606aaa7df4257c45c4988e160 (diff) | |
| download | focaccia-qemu-193f2ab6e076f0f3d07081802bee2d36eb86086f.tar.gz focaccia-qemu-193f2ab6e076f0f3d07081802bee2d36eb86086f.zip | |
subprojects: add attrs crate
The attrs crate is a simple combinator-based for Rust attributes. It will be used instead of a handwritten parser. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/qemu-macros')
| -rw-r--r-- | rust/qemu-macros/Cargo.toml | 1 | ||||
| -rw-r--r-- | rust/qemu-macros/meson.build | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/rust/qemu-macros/Cargo.toml b/rust/qemu-macros/Cargo.toml index 3b6f1d337f..c25b6c0b0d 100644 --- a/rust/qemu-macros/Cargo.toml +++ b/rust/qemu-macros/Cargo.toml @@ -16,6 +16,7 @@ rust-version.workspace = true proc-macro = true [dependencies] +attrs = "0.2.9" proc-macro2 = "1" quote = "1" syn = { version = "2", features = ["extra-traits"] } diff --git a/rust/qemu-macros/meson.build b/rust/qemu-macros/meson.build index d0b2992e20..0f27e0df92 100644 --- a/rust/qemu-macros/meson.build +++ b/rust/qemu-macros/meson.build @@ -8,6 +8,7 @@ _qemu_macros_rs = rust.proc_macro( '--cfg', 'feature="proc-macro"', ], dependencies: [ + attrs_rs_native, proc_macro2_rs_native, quote_rs_native, syn_rs_native, |