1*2b74dd91SManos Pitsidianakisproject('proc-macro2-1-rs', 'rust',
2*2b74dd91SManos Pitsidianakis  version: '1.0.84',
3*2b74dd91SManos Pitsidianakis  license: 'MIT OR Apache-2.0',
4*2b74dd91SManos Pitsidianakis  default_options: [])
5*2b74dd91SManos Pitsidianakis
6*2b74dd91SManos Pitsidianakissubproject('unicode-ident-1-rs', required: true)
7*2b74dd91SManos Pitsidianakis
8*2b74dd91SManos Pitsidianakisunicode_ident_dep = dependency('unicode-ident-1-rs', native: true)
9*2b74dd91SManos Pitsidianakis
10*2b74dd91SManos Pitsidianakis_proc_macro2_rs = static_library(
11*2b74dd91SManos Pitsidianakis  'proc_macro2',
12*2b74dd91SManos Pitsidianakis  files('src/lib.rs'),
13*2b74dd91SManos Pitsidianakis  gnu_symbol_visibility: 'hidden',
14*2b74dd91SManos Pitsidianakis  override_options: ['rust_std=2021', 'build.rust_std=2021'],
15*2b74dd91SManos Pitsidianakis  rust_abi: 'rust',
16*2b74dd91SManos Pitsidianakis  rust_args: [
17*2b74dd91SManos Pitsidianakis    '--cfg', 'feature="proc-macro"',
18*2b74dd91SManos Pitsidianakis    '--cfg', 'span_locations',
19*2b74dd91SManos Pitsidianakis    '--cfg', 'wrap_proc_macro',
20*2b74dd91SManos Pitsidianakis  ],
21*2b74dd91SManos Pitsidianakis  dependencies: [
22*2b74dd91SManos Pitsidianakis    unicode_ident_dep,
23*2b74dd91SManos Pitsidianakis  ],
24*2b74dd91SManos Pitsidianakis  native: true,
25*2b74dd91SManos Pitsidianakis)
26*2b74dd91SManos Pitsidianakis
27*2b74dd91SManos Pitsidianakisproc_macro2_dep = declare_dependency(
28*2b74dd91SManos Pitsidianakis  link_with: _proc_macro2_rs,
29*2b74dd91SManos Pitsidianakis)
30*2b74dd91SManos Pitsidianakis
31*2b74dd91SManos Pitsidianakismeson.override_dependency('proc-macro2-1-rs', proc_macro2_dep, native: true)
32