summaryrefslogtreecommitdiff
path: root/gnu/packages/rust-apps.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2026-02-15 12:18:28 +0200
committerAndreas Enge <andreas@enge.fr>2026-02-21 10:17:03 +0100
commitdbd4fd0e7104a2c2e8b9b976ef033038250d593f (patch)
tree2b40893c5415914ea7f463a70620784be55c52d0 /gnu/packages/rust-apps.scm
parent9d4545ac6502cdd8b1fc335f211a0371cfd6b2aa (diff)
gnu: rust-cbindgen-cli: Build with newer clang.
* gnu/packages/rust-apps.scm (rust-bindgen-cli)[inputs]: Replace clang with clang-18. (rust-bindgen-cli-next): Remove variable. * gnu/packages/gl.scm (mesa-opencl)[native-inputs]: Remove field. Change-Id: I1ba0afbd46ac4c70807376c4993af431b775d699
Diffstat (limited to 'gnu/packages/rust-apps.scm')
-rw-r--r--gnu/packages/rust-apps.scm8
1 files changed, 2 insertions, 6 deletions
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index c43487ef43c..65a1c7fdd02 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -2763,7 +2763,8 @@ support, watch support (like @command{top}) and a tree view.")
(string-append share "/elvish/lib/bindgen")
(lambda _
(invoke bindgen "--generate-shell-completions" "elvish")))))))))
- (inputs (cons* bash-minimal clang (cargo-inputs 'rust-bindgen-cli)))
+ ;; Ensure the same version for clang here, mesa's clang and llvm-for-mesa.
+ (inputs (cons* bash-minimal clang-18 (cargo-inputs 'rust-bindgen-cli)))
(home-page "https://rust-lang.github.io/rust-bindgen/")
(synopsis "Generate Rust FFI bindings to C and C++ libraries")
(description "This package can be used to automatically generate Rust FFI
@@ -2771,11 +2772,6 @@ bindings to C and C++ libraries. This package provides the @command{bindgen}
command.")
(license license:bsd-3)))
-(define-public rust-bindgen-cli-next
- (package/inherit rust-bindgen-cli
- (inputs (modify-inputs (package-inputs rust-bindgen-cli)
- (replace "clang" clang-18)))))
-
(define-public sniffglue
(package
(name "sniffglue")