diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2024-12-20 13:10:03 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-01-10 23:34:44 +0100 |
commit | d2c12785be06da708fe1c8e4e81d7134f4f3c56a (patch) | |
tree | 2760faa7cbbd2cad2f718d72cae8e721108fb939 /subprojects/packagefiles/proc-macro-error-1-rs | |
parent | 559a779c6aa309853474240b01fcc2beff1f04ca (diff) | |
download | qemu-d2c12785be06da708fe1c8e4e81d7134f4f3c56a.zip qemu-d2c12785be06da708fe1c8e4e81d7134f4f3c56a.tar.gz qemu-d2c12785be06da708fe1c8e4e81d7134f4f3c56a.tar.bz2 |
rust: hide warnings for subprojects
This matches cargo's own usage of "--cap-lints allow" when building
dependencies. The dummy changes to the .wrap files help Meson notice
that the subproject is out of date.
Also remove an unnecessary subprojects/unicode-ident-1-rs/meson.build file.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'subprojects/packagefiles/proc-macro-error-1-rs')
-rw-r--r-- | subprojects/packagefiles/proc-macro-error-1-rs/meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/subprojects/packagefiles/proc-macro-error-1-rs/meson.build b/subprojects/packagefiles/proc-macro-error-1-rs/meson.build index ae27a69..10c2741 100644 --- a/subprojects/packagefiles/proc-macro-error-1-rs/meson.build +++ b/subprojects/packagefiles/proc-macro-error-1-rs/meson.build @@ -20,6 +20,7 @@ _proc_macro_error_rs = static_library( override_options: ['rust_std=2018', 'build.rust_std=2018'], rust_abi: 'rust', rust_args: [ + '--cap-lints', 'allow', '--cfg', 'use_fallback', '--cfg', 'feature="syn-error"', '--cfg', 'feature="proc-macro"', |