Message ID | 20241107092622.616487-1-pbonzini@redhat.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | rust: qemu-api-macros: always process subprojects before dependencies | expand |
Paolo Bonzini <pbonzini@redhat.com> writes: > Avoid looking for Rust dependencies via cmake. > > Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Junjie Mao <junjie.mao@hotmail.com> > --- > rust/qemu-api-macros/meson.build | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/rust/qemu-api-macros/meson.build b/rust/qemu-api-macros/meson.build > index 24325dea5c2..6f94a4bb3c2 100644 > --- a/rust/qemu-api-macros/meson.build > +++ b/rust/qemu-api-macros/meson.build > @@ -1,3 +1,7 @@ > +subproject('proc-macro2-1-rs', required: true) > +subproject('quote-1-rs', required: true) > +subproject('syn-2-rs', required: true) > + > quote_dep = dependency('quote-1-rs', native: true) > syn_dep = dependency('syn-2-rs', native: true) > proc_macro2_dep = dependency('proc-macro2-1-rs', native: true)
diff --git a/rust/qemu-api-macros/meson.build b/rust/qemu-api-macros/meson.build index 24325dea5c2..6f94a4bb3c2 100644 --- a/rust/qemu-api-macros/meson.build +++ b/rust/qemu-api-macros/meson.build @@ -1,3 +1,7 @@ +subproject('proc-macro2-1-rs', required: true) +subproject('quote-1-rs', required: true) +subproject('syn-2-rs', required: true) + quote_dep = dependency('quote-1-rs', native: true) syn_dep = dependency('syn-2-rs', native: true) proc_macro2_dep = dependency('proc-macro2-1-rs', native: true)
Avoid looking for Rust dependencies via cmake. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> --- rust/qemu-api-macros/meson.build | 4 ++++ 1 file changed, 4 insertions(+)