Skip to content

Commit b961651

Browse files
committed
config: rustc-1.71.jinja2: upgrade bindgen to 0.65.1
bindgen 0.65.1 will be the next version supported by the kernel [1]. Therefore, add it to the latest build environment. This also requires updating the name of the package from `bindgen` to `bindgen-cli`, since bindgen 0.61.0 moved its CLI utility into a binary crate called `bindgen-cli` [2]. Link: Rust-for-Linux/linux@08ab786 [1] Link: rust-lang/rust-bindgen#2284 [2] Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
1 parent e23dd82 commit b961651

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/docker/rustc-1.71.jinja2

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{{ super() }}
55

66
ARG RUST_VER=1.71.1
7-
ARG BINDGEN_VER=0.56.0
7+
ARG BINDGEN_VER=0.65.1
88

99
ARG RUST_TRIPLE=rust-${RUST_VER}-x86_64-unknown-linux-gnu
1010

@@ -34,7 +34,7 @@ RUN git clone --recurse-submodules --branch $RUST_VER \
3434
https://github.com/rust-lang/rust \
3535
$(rustc --print sysroot)/lib/rustlib/src/rust
3636

37-
RUN cargo install --locked --version ${BINDGEN_VER} bindgen
37+
RUN cargo install --locked --version ${BINDGEN_VER} bindgen-cli
3838

3939
# kernel build generates some rust code and tries to format it, if rustfmt is
4040
# missing it will print non-fatal error noise

0 commit comments

Comments
 (0)