diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2025-09-08 12:50:04 +0200 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-09-17 19:00:58 +0200 |
| commit | efe8d07383e22e39e4dafbc08855956a459b395f (patch) | |
| tree | f0e5e72e9296948f6a40b18fd849673c4405ebb3 /rust | |
| parent | 31b35e78be99ae0c9b7a50fa4f29c0041538ceea (diff) | |
| download | focaccia-qemu-efe8d07383e22e39e4dafbc08855956a459b395f.tar.gz focaccia-qemu-efe8d07383e22e39e4dafbc08855956a459b395f.zip | |
rust: meson: remove unnecessary complication in device crates
It is not necessary anymore to explicitly list procedural macro crates when doing the final link using rustc. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Link: https://lore.kernel.org/r/20250908105005.2119297-33-pbonzini@redhat.com Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust')
| -rw-r--r-- | rust/hw/char/pl011/meson.build | 3 | ||||
| -rw-r--r-- | rust/hw/timer/hpet/meson.build | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/rust/hw/char/pl011/meson.build b/rust/hw/char/pl011/meson.build index 628a523870..ffdc8af53f 100644 --- a/rust/hw/char/pl011/meson.build +++ b/rust/hw/char/pl011/meson.build @@ -44,8 +44,5 @@ _libpl011_rs = static_library( rust_devices_ss.add(when: 'CONFIG_X_PL011_RUST', if_true: [declare_dependency( link_whole: [_libpl011_rs], - # Putting proc macro crates in `dependencies` is necessary for Meson to find - # them when compiling the root per-target static rust lib. - dependencies: [bilge_impl_rs, qemu_macros], variables: {'crate': 'pl011'}, )]) diff --git a/rust/hw/timer/hpet/meson.build b/rust/hw/timer/hpet/meson.build index b6bb9477f0..bb64b96672 100644 --- a/rust/hw/timer/hpet/meson.build +++ b/rust/hw/timer/hpet/meson.build @@ -16,8 +16,5 @@ _libhpet_rs = static_library( rust_devices_ss.add(when: 'CONFIG_X_HPET_RUST', if_true: [declare_dependency( link_whole: [_libhpet_rs], - # Putting proc macro crates in `dependencies` is necessary for Meson to find - # them when compiling the root per-target static rust lib. - dependencies: [qemu_macros], variables: {'crate': 'hpet'}, )]) |