'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,
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,
'--cap-lints', 'allow',
'--cfg', 'use_fallback',
'--cfg', 'feature="syn-error"',
- '--cfg', 'feature="proc-macro"',
'-A', 'non_fmt_panics'
],
dependencies: [
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,