diff --git a/.pick_status.json b/.pick_status.json index 319c266da8f..69a572ba563 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -3464,7 +3464,7 @@ "description": "rusticl: silence new warnings from rustc versions above our rustc target", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": null, "notes": null diff --git a/src/gallium/frontends/rusticl/meson.build b/src/gallium/frontends/rusticl/meson.build index 2ea976af670..d63de75912e 100644 --- a/src/gallium/frontends/rusticl/meson.build +++ b/src/gallium/frontends/rusticl/meson.build @@ -76,6 +76,12 @@ rusticl_args = [ '-Aclippy::type_complexity', ] +# Disable warnings from future rustc versions. +# TODO: replace with rustc.get_supported_arguments when requiring meson-1.8+ +if rustc.version().version_compare('>= 1.89') + rusticl_args += ['-Amismatched_lifetime_syntaxes'] +endif + rusticl_drivers_enable = get_option('gallium-rusticl-enable-drivers') foreach driver : rusticl_drivers_enable rusticl_args += [