meson: Update our rust dependencies

These are the package versions currently shipped by Fedora. This allows
using system packages by setting

    export MESON_PACKAGE_CACHE_DIR=/usr/share/cargo/registry/

Of course, other distros may place it somewhere else.

Ubuntu matches versions on syn and unicode-ident but is a tiny bit off
on quote and proc-macro2. However, given how far I was able to bump the
versions with only a tiny meson tweak to syn, I think it should work
with the Ubuntu versions as well.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26726>
This commit is contained in:
Faith Ekstrand
2023-12-16 11:38:12 -06:00
committed by Marge Bot
parent f0594915e6
commit a2a0cef9f4
5 changed files with 17 additions and 17 deletions

View File

@@ -48,7 +48,7 @@ lib = static_library(
'proc_macro2',
'src/lib.rs',
rust_args : rust_args,
override_options : ['rust_std=2018', 'build.rust_std=2018'],
override_options : ['rust_std=2021', 'build.rust_std=2021'],
link_with : u_ind,
rust_abi : 'rust',
native : true,