mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-21 20:40:36 +02:00
rusticl/meson: extract common bindgen rust args
Signed-off-by: Karol Herbst <git@karolherbst.de> Reviewed-by: Nora Allen <blackcatgames@protonmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21612>
This commit is contained in:
parent
c896373889
commit
29b932512a
1 changed files with 3 additions and 6 deletions
|
|
@ -94,6 +94,9 @@ rusticl_args = [
|
|||
rusticl_gen_args = [
|
||||
# can't do anything about it anyway
|
||||
'-Aclippy::all',
|
||||
'-Anon_camel_case_types',
|
||||
'-Anon_snake_case',
|
||||
'-Anon_upper_case_globals',
|
||||
]
|
||||
|
||||
rusticl_bindgen_args = [
|
||||
|
|
@ -164,9 +167,6 @@ rusticl_opencl_gen = static_library(
|
|||
rust_crate_type : 'rlib',
|
||||
rust_args : [
|
||||
rusticl_gen_args,
|
||||
'-Anon_snake_case',
|
||||
'-Anon_camel_case_types',
|
||||
'-Anon_upper_case_globals',
|
||||
],
|
||||
)
|
||||
|
||||
|
|
@ -307,9 +307,6 @@ libmesa_rust_gen = static_library(
|
|||
rust_crate_type : 'rlib',
|
||||
rust_args : [
|
||||
rusticl_gen_args,
|
||||
'-Anon_snake_case',
|
||||
'-Anon_camel_case_types',
|
||||
'-Anon_upper_case_globals',
|
||||
],
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue