mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 11:40:10 +01:00
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> (cherry picked from commit2044cf885b)
This commit is contained in:
parent
2cf00af048
commit
3eb60e6dca
2 changed files with 2 additions and 2 deletions
|
|
@ -644,7 +644,7 @@
|
||||||
"description": "rust: build `ucd-trie` dependency with the correct edition",
|
"description": "rust: build `ucd-trie` dependency with the correct edition",
|
||||||
"nominated": true,
|
"nominated": true,
|
||||||
"nomination_type": 2,
|
"nomination_type": 2,
|
||||||
"resolution": 0,
|
"resolution": 1,
|
||||||
"main_sha": null,
|
"main_sha": null,
|
||||||
"because_sha": "e28ff818695ca953b31ec15d1f371b64a4ff9e3d",
|
"because_sha": "e28ff818695ca953b31ec15d1f371b64a4ff9e3d",
|
||||||
"notes": null
|
"notes": null
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ project(
|
||||||
lib = static_library(
|
lib = static_library(
|
||||||
'ucd_trie',
|
'ucd_trie',
|
||||||
'src/lib.rs',
|
'src/lib.rs',
|
||||||
override_options : ['rust_std=2018', 'build.rust_std=2018'],
|
override_options : ['rust_std=2021', 'build.rust_std=2021'],
|
||||||
rust_abi : 'rust',
|
rust_abi : 'rust',
|
||||||
native : true,
|
native : true,
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue