mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-10 12:09:31 +00:00
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 <zihanchen@google.com> Commit-Queue: Zihan Chen <zihanchen@google.com> Auto-Submit: Dennis Kempin <denniskempin@google.com>
This commit is contained in:
parent
4331e432c5
commit
ca2049f982
1 changed files with 3 additions and 3 deletions
|
@ -54,9 +54,9 @@ pip3 install \
|
||||||
mypy \
|
mypy \
|
||||||
black
|
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"
|
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
|
chmod +x rustup-init
|
||||||
./rustup-init -y --no-modify-path --profile minimal --default-toolchain none
|
./rustup-init -y --no-modify-path --profile minimal --default-toolchain none
|
||||||
rm rustup-init
|
rm rustup-init
|
||||||
|
@ -73,7 +73,7 @@ rustup component add llvm-tools-preview
|
||||||
rustup target add x86_64-pc-windows-gnu
|
rustup target add x86_64-pc-windows-gnu
|
||||||
|
|
||||||
# The bindgen tool is required to build a crosvm dependency.
|
# 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.
|
# binutils are wrappers to call the rustup bundled versions of llvm tools.
|
||||||
cargo install cargo-binutils
|
cargo install cargo-binutils
|
||||||
|
|
Loading…
Reference in a new issue