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-macro2-1-rs | |
| parent | 559a779c6aa309853474240b01fcc2beff1f04ca (diff) | |
| download | focaccia-qemu-d2c12785be06da708fe1c8e4e81d7134f4f3c56a.tar.gz focaccia-qemu-d2c12785be06da708fe1c8e4e81d7134f4f3c56a.zip | |
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-macro2-1-rs')
| -rw-r--r-- | subprojects/packagefiles/proc-macro2-1-rs/meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/subprojects/packagefiles/proc-macro2-1-rs/meson.build b/subprojects/packagefiles/proc-macro2-1-rs/meson.build index f9c8675eba..5759df3ecc 100644 --- a/subprojects/packagefiles/proc-macro2-1-rs/meson.build +++ b/subprojects/packagefiles/proc-macro2-1-rs/meson.build @@ -15,6 +15,7 @@ _proc_macro2_rs = static_library( override_options: ['rust_std=2021', 'build.rust_std=2021'], rust_abi: 'rust', rust_args: [ + '--cap-lints', 'allow', '--cfg', 'feature="proc-macro"', '--cfg', 'no_literal_byte_character', '--cfg', 'no_literal_c_string', |