mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
nak: Require Rust 1.70.0
This is when std::sync::OnceLock gets stabilized which we require for parsing debug options. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24998>
This commit is contained in:
parent
71c5bbc5a8
commit
865d6c303f
1 changed files with 5 additions and 0 deletions
|
|
@ -1,6 +1,11 @@
|
|||
add_languages('rust', required: true)
|
||||
rust = import('unstable-rust')
|
||||
|
||||
rc = meson.get_compiler('rust')
|
||||
if rc.version().version_compare('< 1.70.0')
|
||||
error('NAK requires Rust 1.70.0')
|
||||
endif
|
||||
|
||||
dep_syn = dependency('syn',
|
||||
version : '>= 2.0.15',
|
||||
fallback : ['syn', 'dep_syn'],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue