1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-21 23:04:45 -05:00

chore: upgrade to rust 1.58.1 (#13459)

This commit is contained in:
Divy Srivastava 2022-01-23 22:36:40 +05:30 committed by GitHub
parent a96b294a8a
commit 3959d9f2d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 7 deletions

View file

@ -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

View file

@ -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'

2
rust-toolchain.toml Normal file
View file

@ -0,0 +1,2 @@
[toolchain]
channel = "1.58.1"