meson,nvk: Require rustc-hash 2.0 or later

rustc-hash 1.1 does not have FxBuildHasher, and 1.2 has been yanked from
crates.io. I've verified that version 2.0 builds and seems to work, so
set the required version as 2.0.

Fixes: c1f979d84a ("nak: Add a dependency on rustc-hash")
Reviewed-by: @LingMan
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36650>
(cherry picked from commit 9a579673dd)
This commit is contained in:
Mel Henning 2025-08-07 14:19:14 -04:00 committed by Eric Engestrom
parent 9e56b35c1a
commit 19eee14bed
2 changed files with 2 additions and 1 deletions

View file

@ -6064,7 +6064,7 @@
"description": "meson,nvk: Require rustc-hash 2.0 or later",
"nominated": true,
"nomination_type": 2,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "c1f979d84a78bfdd308f107ae6ce3f779d9411bf",
"notes": null

View file

@ -8,6 +8,7 @@ dep_paste = dependency('paste',
)
dep_rustc_hash = dependency('rustc-hash',
version: '>= 2.0',
fallback: ['rustc-hash', 'dep_rustc_hash'],
required: true,
)