rust: build ucd-trie dependency with the correct edition

Although a crate may happen to be compatible with multiple editions, building with the wrong
edition can - generally speaking - lead to subtle bugs.

There are no known failures in this case, but better to match the official Cargo.toml anyway.

Fixes: e28ff81869 ("meson: Add pest rust dependencies")
Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38726>
This commit is contained in:
LingMan
2025-11-30 05:48:17 +01:00
committed by Marge Bot
parent f95a5d5df8
commit 2044cf885b

View File

@@ -8,7 +8,7 @@ project(
lib = static_library(
'ucd_trie',
'src/lib.rs',
override_options : ['rust_std=2018', 'build.rust_std=2018'],
override_options : ['rust_std=2021', 'build.rust_std=2021'],
rust_abi : 'rust',
native : true,
)