From 6df51ee1d8ea199256abe04f622ff4cda33a5f17 Mon Sep 17 00:00:00 2001 From: Ben Newman Date: Wed, 15 May 2024 09:59:37 -0400 Subject: [PATCH] Revert Rust version from 1.78.0 to 1.76.0 in CircleCI (#483) --- .circleci/config.yml | 6 ++++++ rust-toolchain.toml | 4 ++++ 2 files changed, 10 insertions(+) create mode 100644 rust-toolchain.toml diff --git a/.circleci/config.yml b/.circleci/config.yml index 303abe6ca..2aef0a5b0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -377,6 +377,12 @@ commands: - run: name: Adds rust target command: rustup target add $XTASK_TARGET + - run: + name: Set default rustc version + # Should match the version pinned in rust-toolchain.toml + command: | + rustup install 1.76.0 + rustup default 1.76.0 - when: condition: equal: [ *amd_windows_executor, << parameters.platform >> ] diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 000000000..a65dffdb2 --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,4 @@ +[toolchain] +# renovate-automation: rustc version +channel = "1.76.0" +components = ["rustfmt", "clippy"]