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:
Paolo Bonzini
2025-11-26 17:25:21 +01:00
parent cef5629f83
commit 06556a6b2b
4 changed files with 0 additions and 12 deletions

View File

@@ -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,

View File

@@ -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,

View File

@@ -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: [

View File

@@ -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,