From ca2049f9822ac1cc9e088ab7662deb6a0908fcd6 Mon Sep 17 00:00:00 2001 From: Dennis Kempin Date: Thu, 20 Oct 2022 17:46:15 +0000 Subject: [PATCH] Use previous bindgen version The latest version is breaking minijail bindings and needs changes to accomodate, which we cannot do until ChromeOS is updating it's bindgen version as well. BUG=None TEST=make -C tools/impl/dev_container crosvm_dev && ./tools/dev_container cargo build Change-Id: I86476e4260154caf2aaf1b210490d466961b827f Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3964923 Reviewed-by: Zihan Chen Commit-Queue: Zihan Chen Auto-Submit: Dennis Kempin --- tools/install-deps | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/install-deps b/tools/install-deps index 163afb7586..15e55269dd 100755 --- a/tools/install-deps +++ b/tools/install-deps @@ -54,9 +54,9 @@ pip3 install \ mypy \ black -if ! command -v rustup &> /dev/null; then +if ! command -v rustup &>/dev/null; then wget "https://static.rust-lang.org/rustup/archive/1.25.1/x86_64-unknown-linux-gnu/rustup-init" - echo "5cc9ffd1026e82e7fb2eec2121ad71f4b0f044e88bca39207b3f6b769aaa799c *rustup-init" | sha256sum -c -; \ + echo "5cc9ffd1026e82e7fb2eec2121ad71f4b0f044e88bca39207b3f6b769aaa799c *rustup-init" | sha256sum -c - chmod +x rustup-init ./rustup-init -y --no-modify-path --profile minimal --default-toolchain none rm rustup-init @@ -73,7 +73,7 @@ rustup component add llvm-tools-preview rustup target add x86_64-pc-windows-gnu # The bindgen tool is required to build a crosvm dependency. -cargo install bindgen-cli +cargo install bindgen --version=0.60.1 # binutils are wrappers to call the rustup bundled versions of llvm tools. cargo install cargo-binutils