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>
(cherry picked from commit 1368ee5e1a
)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32261>
This commit is contained in:

committed by
Dylan Baker

parent
3c450c640a
commit
1e9229fd09
@@ -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