From 1e9229fd09a44cc145f60d884d825f6197cee1e6 Mon Sep 17 00:00:00 2001 From: David Heidelberg Date: Tue, 12 Nov 2024 18:53:23 -0500 Subject: [PATCH] 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 Signed-off-by: David Heidelberg (cherry picked from commit 1368ee5e1aee9a760b445b7dd24d8b77be1b0800) Part-of: --- .pick_status.json | 2 +- src/compiler/rust/meson.build | 15 --------------- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/.pick_status.json b/.pick_status.json index 3c1961b1326..4b90a3adce3 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -1004,7 +1004,7 @@ "description": "compiler/rust: drop duplicated bindgen check", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": null, "notes": null diff --git a/src/compiler/rust/meson.build b/src/compiler/rust/meson.build index 2f048fc9695..347d6f9555c 100644 --- a/src/compiler/rust/meson.build +++ b/src/compiler/rust/meson.build @@ -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',