mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
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>
This commit is contained in:
parent
559a779c6a
commit
d2c12785be
23 changed files with 44 additions and 20 deletions
|
@ -16,6 +16,7 @@ _proc_macro_error_attr_rs = rust.proc_macro(
|
|||
files('src/lib.rs'),
|
||||
override_options: ['rust_std=2018', 'build.rust_std=2018'],
|
||||
rust_args: [
|
||||
'--cap-lints', 'allow',
|
||||
'--cfg', 'use_fallback',
|
||||
'--cfg', 'feature="syn-error"',
|
||||
'--cfg', 'feature="proc-macro"'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue