meson: Pull in syn from crates.io

We don't have real crates.io support yet so this uses a hack where it
pulls wraps from my personal github.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24998>
This commit is contained in:
Faith Ekstrand
2023-01-30 20:53:18 -06:00
committed by Marge Bot
parent 384f4448e1
commit 5a80c2e89a
9 changed files with 181 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
project(
'unicode-ident',
'rust',
version : '1.0.6',
license : '(MIT or Apache-2.0) AND Unicode-DFS-2016)',
)
lib = static_library(
'unicode_ident',
'src/lib.rs',
override_options : ['rust_std=2018', 'build.rust_std=2018'],
rust_abi : 'rust',
native : true,
)