Skip to content

Commit

Permalink
Update rust toolchain to nightly-2022-04-07 (#566)
Browse files Browse the repository at this point in the history
  • Loading branch information
ark930 authored Apr 28, 2022
1 parent 62b1585 commit 0a7a917
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2021-11-07
toolchain: nightly-2022-04-07
components: rustfmt
target: wasm32-unknown-unknown
default: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2021-11-07
toolchain: nightly-2022-04-07
components: rustfmt
target: wasm32-unknown-unknown
default: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2021-11-07
toolchain: nightly-2022-04-07
components: rustfmt
target: wasm32-unknown-unknown
default: true
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
FROM rust:buster as builder

RUN apt-get update && apt-get install time clang libclang-dev llvm -y
RUN rustup toolchain install nightly-2021-11-07
RUN rustup target add wasm32-unknown-unknown --toolchain nightly-2021-11-07
RUN rustup toolchain install nightly-2022-04-07
RUN rustup target add wasm32-unknown-unknown --toolchain nightly-2022-04-07

WORKDIR /app
COPY . /app
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[toolchain]
channel = "nightly-2021-11-07"
channel = "nightly-2022-04-07"
components = ["cargo", "clippy", "rustc", "rustfmt", "rust-src"]
profile = "minimal"
targets = ["wasm32-unknown-unknown"]
4 changes: 2 additions & 2 deletions scripts/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ set -e

echo "*** Initializing WASM build environment"

rustup default nightly-2021-11-07
rustup default nightly-2022-04-07

rustup target add wasm32-unknown-unknown --toolchain nightly-2021-11-07
rustup target add wasm32-unknown-unknown --toolchain nightly-2022-04-07

0 comments on commit 0a7a917

Please sign in to comment.