Module: Mesa Branch: main Commit: a2a0cef9f415ed0f16912c2006c8a2c302d8bb90 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a2a0cef9f415ed0f16912c2006c8a2c302d8bb90
Author: Faith Ekstrand <faith.ekstr...@collabora.com> Date: Sat Dec 16 11:38:12 2023 -0600 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> --- subprojects/packagefiles/proc-macro2/meson.build | 2 +- subprojects/proc-macro2.wrap | 8 ++++---- subprojects/quote.wrap | 8 ++++---- subprojects/syn.wrap | 8 ++++---- subprojects/unicode-ident.wrap | 8 ++++---- 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/subprojects/packagefiles/proc-macro2/meson.build b/subprojects/packagefiles/proc-macro2/meson.build index 1433ee7c531..b39d76e80c8 100644 --- a/subprojects/packagefiles/proc-macro2/meson.build +++ b/subprojects/packagefiles/proc-macro2/meson.build @@ -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, diff --git a/subprojects/proc-macro2.wrap b/subprojects/proc-macro2.wrap index 17ecce13966..a77f41f99bb 100644 --- a/subprojects/proc-macro2.wrap +++ b/subprojects/proc-macro2.wrap @@ -1,6 +1,6 @@ [wrap-file] -directory = proc-macro2-1.0.56 -source_url = https://crates.io/api/v1/crates/proc-macro2/1.0.56/download -source_filename = proc-macro2-1.0.56.tar.gz -source_hash = 2b63bdb0cd06f1f4dedf69b254734f9b45af66e4a031e42a7480257d9898b435 +directory = proc-macro2-1.0.70 +source_url = https://crates.io/api/v1/crates/proc-macro2/1.0.70/download +source_filename = proc-macro2-1.0.70.tar.gz +source_hash = 39278fbbf5fb4f646ce651690877f89d1c5811a3d4acb27700c1cb3cdb78fd3b patch_directory = proc-macro2 diff --git a/subprojects/quote.wrap b/subprojects/quote.wrap index 7861ad1cf59..7f7c0719119 100644 --- a/subprojects/quote.wrap +++ b/subprojects/quote.wrap @@ -1,6 +1,6 @@ [wrap-file] -directory = quote-1.0.25 -source_url = https://crates.io/api/v1/crates/quote/1.0.25/download -source_filename = quote-1.0.25.tar.gz -source_hash = 5308e8208729c3e1504a6cfad0d5daacc4614c9a2e65d1ea312a34b5cb00fe84 +directory = quote-1.0.33 +source_url = https://crates.io/api/v1/crates/quote/1.0.33/download +source_filename = quote-1.0.33.tar.gz +source_hash = 5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae patch_directory = quote diff --git a/subprojects/syn.wrap b/subprojects/syn.wrap index 18a7b168639..369c7d8a562 100644 --- a/subprojects/syn.wrap +++ b/subprojects/syn.wrap @@ -1,6 +1,6 @@ [wrap-file] -directory = syn-2.0.15 -source_url = https://crates.io/api/v1/crates/syn/2.0.15/download -source_filename = syn-2.0.15.tar.gz -source_hash = a34fcf3e8b60f57e6a14301a2e916d323af98b0ea63c599441eec8558660c822 +directory = syn-2.0.39 +source_url = https://crates.io/api/v1/crates/syn/2.0.39/download +source_filename = syn-2.0.39.tar.gz +source_hash = 23e78b90f2fcf45d3e842032ce32e3f2d1545ba6636271dcbf24fa306d87be7a patch_directory = syn diff --git a/subprojects/unicode-ident.wrap b/subprojects/unicode-ident.wrap index a1b66a0c175..46e5f54661f 100644 --- a/subprojects/unicode-ident.wrap +++ b/subprojects/unicode-ident.wrap @@ -1,6 +1,6 @@ [wrap-file] -directory = unicode-ident-1.0.6 -source_url = https://crates.io/api/v1/crates/unicode-ident/1.0.6/download -source_filename = unicode-ident-1.0.6.tar.gz -source_hash = 84a22b9f218b40614adcb3f4ff08b703773ad44fa9423e4e0d346d5db86e4ebc +directory = unicode-ident-1.0.12 +source_url = https://crates.io/api/v1/crates/unicode-ident/1.0.12/download +source_filename = unicode-ident-1.0.12.tar.gz +source_hash = 3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b patch_directory = unicode-ident