mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 04:51:22 +00:00
chore: upgrade Rust to 1.55.0 (#11965)
This commit is contained in:
parent
fb35cd0ef4
commit
87052927af
@ -1,7 +1,7 @@
|
|||||||
FROM mcr.microsoft.com/vscode/devcontainers/rust:0-1
|
FROM mcr.microsoft.com/vscode/devcontainers/rust:0-1
|
||||||
|
|
||||||
# Update to Rust 1.54.0
|
# Update to Rust 1.55.0
|
||||||
RUN rustup update 1.54.0 && rustup default 1.54.0
|
RUN rustup update 1.55.0 && rustup default 1.55.0
|
||||||
|
|
||||||
# Install Deno
|
# Install Deno
|
||||||
ENV DENO_INSTALL=/usr/local
|
ENV DENO_INSTALL=/usr/local
|
||||||
|
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -78,7 +78,7 @@ jobs:
|
|||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
uses: hecrj/setup-rust-action@v1
|
uses: hecrj/setup-rust-action@v1
|
||||||
with:
|
with:
|
||||||
rust-version: 1.54.0
|
rust-version: 1.55.0
|
||||||
|
|
||||||
- name: Install clippy and rustfmt
|
- name: Install clippy and rustfmt
|
||||||
if: matrix.job == 'lint'
|
if: matrix.job == 'lint'
|
||||||
|
@ -60,7 +60,7 @@ fn get_io_error_class(error: &io::Error) -> &'static str {
|
|||||||
WouldBlock => unreachable!(),
|
WouldBlock => unreachable!(),
|
||||||
// Non-exhaustive enum - might add new variants
|
// Non-exhaustive enum - might add new variants
|
||||||
// in the future
|
// in the future
|
||||||
_ => unreachable!(),
|
_ => "Error",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user