Files
mesa/subprojects/packagefiles/pest_generator/meson.build
Gurchetan Singh c9c3a1f869 subprojects: fix missing space between colon and license string
Essentially:

find ./ -type f -exec sed -i -e "s/license :'/license : '/g" {} \;

Suggested-by: @LingMan
Reviewed-by: @LingMan
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35210>
2025-06-17 22:28:54 +00:00

31 lines
718 B
Meson

project(
'pest_generator',
'rust',
version : '2.8.0',
license : 'MIT OR Apache-2.0',
)
pest = subproject('pest').get_variable('lib')
pest_meta = subproject('pest_meta').get_variable('lib')
quote = subproject('quote').get_variable('lib')
pm2 = subproject('proc-macro2').get_variable('lib')
syn = subproject('syn').get_variable('lib')
rust_args = [
'--cfg', 'feature="std"',
]
lib = static_library(
'pest_generator',
'src/lib.rs',
rust_args : rust_args,
override_options : ['rust_std=2021', 'build.rust_std=2021'],
link_with : [pest, pest_meta, pm2, quote, syn],
rust_abi : 'rust',
native : true,
)
dep_pest_generator = declare_dependency(
link_with : [lib, pest, pest_meta, quote, syn],
)