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