1d0f0cd5bSPaolo Bonziniproject('proc-macro-error-1-rs', 'rust', 2*700784bfSPaolo Bonzini meson_version: '>=1.5.0', 3d0f0cd5bSPaolo Bonzini version: '1.0.4', 4d0f0cd5bSPaolo Bonzini license: 'MIT OR Apache-2.0', 5d0f0cd5bSPaolo Bonzini default_options: []) 6d0f0cd5bSPaolo Bonzini 7d0f0cd5bSPaolo Bonzinisubproject('proc-macro-error-attr-1-rs', required: true) 8d0f0cd5bSPaolo Bonzinisubproject('quote-1-rs', required: true) 9d0f0cd5bSPaolo Bonzinisubproject('syn-2-rs', required: true) 10d0f0cd5bSPaolo Bonzinisubproject('proc-macro2-1-rs', required: true) 11d0f0cd5bSPaolo Bonzini 12d0f0cd5bSPaolo Bonziniproc_macro_error_attr_dep = dependency('proc-macro-error-attr-1-rs', native: true) 13d0f0cd5bSPaolo Bonziniproc_macro2_dep = dependency('proc-macro2-1-rs', native: true) 14d0f0cd5bSPaolo Bonziniquote_dep = dependency('quote-1-rs', native: true) 15d0f0cd5bSPaolo Bonzinisyn_dep = dependency('syn-2-rs', native: true) 16d0f0cd5bSPaolo Bonzini 17d0f0cd5bSPaolo Bonzini_proc_macro_error_rs = static_library( 18d0f0cd5bSPaolo Bonzini 'proc_macro_error', 19d0f0cd5bSPaolo Bonzini files('src/lib.rs'), 20d0f0cd5bSPaolo Bonzini override_options: ['rust_std=2018', 'build.rust_std=2018'], 21d0f0cd5bSPaolo Bonzini rust_abi: 'rust', 22d0f0cd5bSPaolo Bonzini rust_args: [ 23d0f0cd5bSPaolo Bonzini '--cfg', 'use_fallback', 24d0f0cd5bSPaolo Bonzini '--cfg', 'feature="syn-error"', 25d0f0cd5bSPaolo Bonzini '--cfg', 'feature="proc-macro"', 26d0f0cd5bSPaolo Bonzini '-A', 'non_fmt_panics' 27d0f0cd5bSPaolo Bonzini ], 28d0f0cd5bSPaolo Bonzini dependencies: [ 29d0f0cd5bSPaolo Bonzini proc_macro_error_attr_dep, 30d0f0cd5bSPaolo Bonzini proc_macro2_dep, 31d0f0cd5bSPaolo Bonzini quote_dep, 32d0f0cd5bSPaolo Bonzini syn_dep, 33d0f0cd5bSPaolo Bonzini ], 34d0f0cd5bSPaolo Bonzini native: true, 35d0f0cd5bSPaolo Bonzini) 36d0f0cd5bSPaolo Bonzini 37d0f0cd5bSPaolo Bonziniproc_macro_error_dep = declare_dependency( 38d0f0cd5bSPaolo Bonzini link_with: _proc_macro_error_rs, 39d0f0cd5bSPaolo Bonzini) 40d0f0cd5bSPaolo Bonzini 41d0f0cd5bSPaolo Bonzinimeson.override_dependency('proc-macro-error-1-rs', proc_macro_error_dep, native: true) 42