mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 07:40:11 +01:00
rust: build equivalent 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: 9e3e12e6a9 ("meson: Add indexmap 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:
parent
b5cf3b1628
commit
d757018e77
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ project(
|
|||
lib = static_library(
|
||||
'equivalent',
|
||||
'src/lib.rs',
|
||||
override_options : ['rust_std=2021', 'build.rust_std=2021'],
|
||||
override_options : ['rust_std=2015', 'build.rust_std=2015'],
|
||||
rust_abi : 'rust',
|
||||
native : true,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue