mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
rust: build paste 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:dde95fc039("meson,ci: Add the paste crate") Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com> (cherry picked from commitf95a5d5df8) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39003>
This commit is contained in:
parent
5a991ee2a5
commit
c063c0b616
2 changed files with 3 additions and 2 deletions
|
|
@ -654,7 +654,7 @@
|
|||
"description": "rust: build `paste` dependency with the correct edition",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "dde95fc039da8bc31563d6d85bfacd97be4ba98c",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -9,7 +9,8 @@ rust = import('rust')
|
|||
|
||||
lib = rust.proc_macro(
|
||||
'paste',
|
||||
files('src/lib.rs')
|
||||
files('src/lib.rs'),
|
||||
override_options : ['rust_std=2018', 'build.rust_std=2018']
|
||||
)
|
||||
|
||||
dep_paste = declare_dependency(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue