From efe8d07383e22e39e4dafbc08855956a459b395f Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Mon, 8 Sep 2025 12:50:04 +0200 Subject: 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 Reviewed-by: Zhao Liu Link: https://lore.kernel.org/r/20250908105005.2119297-33-pbonzini@redhat.com Signed-off-by: Paolo Bonzini --- rust/hw/timer/hpet/meson.build | 3 --- 1 file changed, 3 deletions(-) (limited to 'rust/hw/timer/hpet') 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'}, )]) -- cgit 1.4.1