compiler/rust: drop duplicated bindgen check
The same check is present in meson file in root directory. Cc: mesa-stable # 24.3 Reviewed-by: Eric Engestrom <eric@igalia.com> Signed-off-by: David Heidelberg <david@ixit.cz> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32101>
This commit is contained in:
committed by
Marge Bot
parent
97be761f92
commit
1368ee5e1a
@@ -11,21 +11,6 @@ _compiler_rs_sources = [
|
||||
'smallvec.rs',
|
||||
]
|
||||
|
||||
bindgen_version = find_program('bindgen').version()
|
||||
|
||||
if bindgen_version == 'unknown'
|
||||
error('Failed to detect bindgen version. If you are using bindgen 0.69.0, ' +
|
||||
'please either update to 0.69.1 or downgrade to 0.68.1. You can ' +
|
||||
'install the latest version for your user with ' +
|
||||
'`cargo install bindgen-cli`.')
|
||||
endif
|
||||
|
||||
if bindgen_version.version_compare('< 0.65')
|
||||
error('NAK requires bindgen 0.65 or newer. If your distribution does not ' +
|
||||
'ship a recent enough version, you can install the latest version ' +
|
||||
'for your user with `cargo install bindgen-cli`.')
|
||||
endif
|
||||
|
||||
_compiler_binding_types = [
|
||||
'exec_list',
|
||||
'exec_node',
|
||||
|
||||
Reference in New Issue
Block a user