1d0f0cd5bSPaolo Bonziniproject('proc-macro-error-attr-1-rs', 'rust', 2*700784bfSPaolo Bonzini meson_version: '>=1.5.0', 3d0f0cd5bSPaolo Bonzini version: '1.12.0', 4d0f0cd5bSPaolo Bonzini license: 'MIT OR Apache-2.0', 5d0f0cd5bSPaolo Bonzini default_options: []) 6d0f0cd5bSPaolo Bonzini 7d0f0cd5bSPaolo Bonzinisubproject('proc-macro2-1-rs', required: true) 8d0f0cd5bSPaolo Bonzinisubproject('quote-1-rs', required: true) 9d0f0cd5bSPaolo Bonzini 10d0f0cd5bSPaolo Bonziniproc_macro2_dep = dependency('proc-macro2-1-rs', native: true) 11d0f0cd5bSPaolo Bonziniquote_dep = dependency('quote-1-rs', native: true) 12d0f0cd5bSPaolo Bonzini 13d0f0cd5bSPaolo Bonzinirust = import('rust') 14d0f0cd5bSPaolo Bonzini_proc_macro_error_attr_rs = rust.proc_macro( 15d0f0cd5bSPaolo Bonzini 'proc_macro_error_attr', 16d0f0cd5bSPaolo Bonzini files('src/lib.rs'), 17d0f0cd5bSPaolo Bonzini override_options: ['rust_std=2018', 'build.rust_std=2018'], 18d0f0cd5bSPaolo Bonzini rust_args: [ 19d0f0cd5bSPaolo Bonzini '--cfg', 'use_fallback', 20d0f0cd5bSPaolo Bonzini '--cfg', 'feature="syn-error"', 21d0f0cd5bSPaolo Bonzini '--cfg', 'feature="proc-macro"' 22d0f0cd5bSPaolo Bonzini ], 23d0f0cd5bSPaolo Bonzini dependencies: [ 24d0f0cd5bSPaolo Bonzini proc_macro2_dep, 25d0f0cd5bSPaolo Bonzini quote_dep, 26d0f0cd5bSPaolo Bonzini ], 27d0f0cd5bSPaolo Bonzini) 28d0f0cd5bSPaolo Bonzini 29d0f0cd5bSPaolo Bonziniproc_macro_error_attr_dep = declare_dependency( 30d0f0cd5bSPaolo Bonzini link_with: _proc_macro_error_attr_rs, 31d0f0cd5bSPaolo Bonzini) 32d0f0cd5bSPaolo Bonzini 33d0f0cd5bSPaolo Bonzinimeson.override_dependency('proc-macro-error-attr-1-rs', proc_macro_error_attr_dep, native: true) 34