rust: remove unused --cfg arguments
Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
@@ -2,11 +2,6 @@ _qemu_macros_rs = rust.proc_macro(
|
||||
'qemu_macros',
|
||||
files('src/lib.rs'),
|
||||
override_options: ['rust_std=2021', 'build.rust_std=2021'],
|
||||
rust_args: [
|
||||
'--cfg', 'use_fallback',
|
||||
'--cfg', 'feature="syn-error"',
|
||||
'--cfg', 'feature="proc-macro"',
|
||||
],
|
||||
dependencies: [
|
||||
attrs_rs_native,
|
||||
proc_macro2_rs_native,
|
||||
|
||||
@@ -26,9 +26,6 @@ _bilge_impl_rs = rust.proc_macro(
|
||||
override_options: ['rust_std=2021', 'build.rust_std=2021'],
|
||||
rust_args: [
|
||||
'--cap-lints', 'allow',
|
||||
'--cfg', 'use_fallback',
|
||||
'--cfg', 'feature="syn-error"',
|
||||
'--cfg', 'feature="proc-macro"',
|
||||
],
|
||||
dependencies: [
|
||||
itertools_dep,
|
||||
|
||||
@@ -23,7 +23,6 @@ _proc_macro_error_rs = static_library(
|
||||
'--cap-lints', 'allow',
|
||||
'--cfg', 'use_fallback',
|
||||
'--cfg', 'feature="syn-error"',
|
||||
'--cfg', 'feature="proc-macro"',
|
||||
'-A', 'non_fmt_panics'
|
||||
],
|
||||
dependencies: [
|
||||
|
||||
@@ -17,9 +17,6 @@ _proc_macro_error_attr_rs = rust.proc_macro(
|
||||
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"'
|
||||
],
|
||||
dependencies: [
|
||||
proc_macro2_dep,
|
||||
|
||||
Reference in New Issue
Block a user