From 56da4bb027dd936212b2850709fff68f0e47f21a Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Wed, 19 Aug 2020 09:11:28 -0700 Subject: [PATCH] devops: make sure rust toolchain is installed (#3485) Otherwise if required version is not installed the build fails with a cryptic message like `error: toolchain '1.45.0-x86_64-unknown-linux-gnu' does not support components` --- browser_patches/firefox/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/browser_patches/firefox/build.sh b/browser_patches/firefox/build.sh index f05c833619..09bd609477 100755 --- a/browser_patches/firefox/build.sh +++ b/browser_patches/firefox/build.sh @@ -48,6 +48,7 @@ else if command -v rustup >/dev/null; then # We manage Rust version ourselves. echo "-- Using rust v${RUST_VERSION}" + rustup install "${RUST_VERSION}" rustup default "${RUST_VERSION}" fi