Skip to content

Commit

Permalink
ci(linux): setup bindgen-cli for aws-lc
Browse files Browse the repository at this point in the history
  • Loading branch information
rami3l committed Jul 17, 2024
1 parent 326962a commit 890f4f4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ci/docker/armv7-unknown-linux-gnueabihf/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
FROM rust-armv7-unknown-linux-gnueabihf

RUN apt-get update && apt-get install -qy gcc-multilib libclang-dev
RUN apt-get update && apt-get install -qy gcc-multilib libclang-dev \
&& curl --proto '=https' --tlsv1.2 -LsSf https://github.com/rust-lang/rust-bindgen/releases/latest/download/bindgen-cli-installer.sh | sh \
&& mv $HOME/.cargo/bin/bindgen /usr/bin

ENV CC_armv7_unknown_linux_gnueabihf=armv7-unknown-linux-gnueabihf-gcc \
CARGO_TARGET_ARMV7_UNKNOWN_LINUX_GNUEABIHF_LINKER=armv7-unknown-linux-gnueabihf-gcc

0 comments on commit 890f4f4

Please sign in to comment.