diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2022-01-23 22:36:40 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-23 22:36:40 +0530 |
commit | 3959d9f2d285bd45beb34074cf61090e2c4976dc (patch) | |
tree | 7c4c7db97a3951bbb7044c0cb6b778f6be0446d7 | |
parent | a96b294a8a421570f6b29b5df6fbeaf2d9658047 (diff) |
chore: upgrade to rust 1.58.1 (#13459)
-rw-r--r-- | .devcontainer/Dockerfile | 4 | ||||
-rw-r--r-- | .github/workflows/ci.yml | 5 | ||||
-rw-r--r-- | rust-toolchain.toml | 2 |
3 files changed, 4 insertions, 7 deletions
diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index c508d28b9..0aa1b0198 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,8 +1,6 @@ FROM mcr.microsoft.com/vscode/devcontainers/rust:0-1 -# Update to Rust 1.58.0 -RUN rustup update 1.58.0 && rustup default 1.58.0 - # Install Deno ENV DENO_INSTALL=/usr/local RUN curl -fsSL https://deno.land/x/install/install.sh | sh + diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e08b4ca7b..1312e8ea9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -82,10 +82,7 @@ jobs: tar --exclude=".git*" --exclude=target --exclude=third_party/prebuilt \ -czvf target/release/deno_src.tar.gz -C .. deno - - name: Install Rust - uses: hecrj/setup-rust-action@v1 - with: - rust-version: 1.58.0 + - uses: dtolnay/rust-toolchain@stable - name: Install clippy and rustfmt if: matrix.job == 'lint' diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 000000000..89378c52d --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,2 @@ +[toolchain] +channel = "1.58.1" |