mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
rusticl: silence new warnings from rustc versions above our rustc target
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36747>
(cherry picked from commit 20b2944274)
This commit is contained in:
parent
9c8853efba
commit
8d535efa7c
2 changed files with 7 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 += [
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue