1d0f0cd5bSPaolo Bonziniproject('either-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 Bonzini_either_rs = static_library( 8d0f0cd5bSPaolo Bonzini 'either', 9d0f0cd5bSPaolo Bonzini files('src/lib.rs'), 10d0f0cd5bSPaolo Bonzini gnu_symbol_visibility: 'hidden', 11d0f0cd5bSPaolo Bonzini override_options: ['rust_std=2018', 'build.rust_std=2018'], 12d0f0cd5bSPaolo Bonzini rust_abi: 'rust', 13d0f0cd5bSPaolo Bonzini rust_args: [ 14d0f0cd5bSPaolo Bonzini '--cfg', 'feature="use_std"', 15d0f0cd5bSPaolo Bonzini '--cfg', 'feature="use_alloc"', 16d0f0cd5bSPaolo Bonzini ], 17d0f0cd5bSPaolo Bonzini dependencies: [], 18d0f0cd5bSPaolo Bonzini native: true, 19d0f0cd5bSPaolo Bonzini) 20d0f0cd5bSPaolo Bonzini 21d0f0cd5bSPaolo Bonzinieither_dep = declare_dependency( 22d0f0cd5bSPaolo Bonzini link_with: _either_rs, 23d0f0cd5bSPaolo Bonzini) 24d0f0cd5bSPaolo Bonzini 25d0f0cd5bSPaolo Bonzinimeson.override_dependency('either-1-rs', either_dep, native: true) 26