Skip to content

Commit 1928572

Browse files
committed
Use rust-bindgen from Arch repositories
Since 6.11 the Linux kernel supports building with newer versions as well, so we can depend on the version from the official repositories.
1 parent 3ca78bc commit 1928572

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.SRCINFO

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ pkgbase = linux-rust
1515
makedepends = perl
1616
makedepends = python
1717
makedepends = rustup
18+
makedepends = rust-bindgen
1819
makedepends = tar
1920
makedepends = xz
2021
makedepends = graphviz

PKGBUILD

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ makedepends=(
1818
perl
1919
python
2020
rustup
21+
rust-bindgen
2122
tar
2223
xz
2324

@@ -77,9 +78,6 @@ prepare() {
7778
echo "Installing rust-src"
7879
rustup component add rust-src
7980

80-
echo "Installing rust-bindgen"
81-
cargo install --locked --version 0.65.1 bindgen-cli
82-
8381
echo "Verifying that Rust support is available"
8482
make LLVM=1 rustavailable
8583

0 commit comments

Comments
 (0)