rusticl: check rustc version for flags requiring newer rustc/clippy

Fixes: 7e74ee07e3 ("rusticl: silence clippy::arc-with-non-send-sync for now")
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26780>
This commit is contained in:
Karol Herbst
2023-12-20 23:08:34 +01:00
committed by Marge Bot
parent eb5bb5c784
commit 9643671dae
2 changed files with 8 additions and 2 deletions

View File

@@ -818,6 +818,7 @@ if with_gallium_rusticl
endif
add_languages('rust', required: true)
rustc = meson.get_compiler('rust')
with_clc = true
endif