diff options
author | Yusuke Tanaka <yusuktan@maguro.dev> | 2021-09-10 10:15:21 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-09 21:15:21 -0400 |
commit | 87052927afd505ff1c5d42075cd23a3619b29011 (patch) | |
tree | 596ba6cfef79563ee48c0fbda3588b9e77bff44c | |
parent | fb35cd0ef496fee9aa65daadf542057f18d6063f (diff) |
chore: upgrade Rust to 1.55.0 (#11965)
-rw-r--r-- | .devcontainer/Dockerfile | 4 | ||||
-rw-r--r-- | .github/workflows/ci.yml | 2 | ||||
-rw-r--r-- | runtime/errors.rs | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index b127f11f0..5438ca19e 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,7 +1,7 @@ FROM mcr.microsoft.com/vscode/devcontainers/rust:0-1 -# Update to Rust 1.54.0 -RUN rustup update 1.54.0 && rustup default 1.54.0 +# Update to Rust 1.55.0 +RUN rustup update 1.55.0 && rustup default 1.55.0 # Install Deno ENV DENO_INSTALL=/usr/local diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fe8ba756c..3cca65b24 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -78,7 +78,7 @@ jobs: - name: Install Rust uses: hecrj/setup-rust-action@v1 with: - rust-version: 1.54.0 + rust-version: 1.55.0 - name: Install clippy and rustfmt if: matrix.job == 'lint' diff --git a/runtime/errors.rs b/runtime/errors.rs index f88455b05..79f3c5e7a 100644 --- a/runtime/errors.rs +++ b/runtime/errors.rs @@ -60,7 +60,7 @@ fn get_io_error_class(error: &io::Error) -> &'static str { WouldBlock => unreachable!(), // Non-exhaustive enum - might add new variants // in the future - _ => unreachable!(), + _ => "Error", } } |