From 2d36165b1b1c32fd1100536ea830065418faa8aa Mon Sep 17 00:00:00 2001 From: Kevin Wang Date: Fri, 2 Jun 2023 11:17:14 +0000 Subject: [PATCH] Pin Rustc to 1.69 --- .github/actions/install_toolchain/action.yml | 2 +- gramine.Dockerfile | 2 +- rust-toolchain.toml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/actions/install_toolchain/action.yml b/.github/actions/install_toolchain/action.yml index 835793ef72..8dae826773 100644 --- a/.github/actions/install_toolchain/action.yml +++ b/.github/actions/install_toolchain/action.yml @@ -6,7 +6,7 @@ runs: - name: Install latest stable uses: actions-rs/toolchain@v1 with: - toolchain: stable + toolchain: 1.69.0 override: true target: wasm32-unknown-unknown components: cargo, clippy, rust-analyzer, rust-src, rust-std, rustc-dev, rustc, rustfmt diff --git a/gramine.Dockerfile b/gramine.Dockerfile index 1789909b17..6181716a05 100644 --- a/gramine.Dockerfile +++ b/gramine.Dockerfile @@ -15,7 +15,7 @@ ARG CODENAME='focal' ADD ./dockerfile.d/04_psw.sh /root RUN bash /root/04_psw.sh -ARG RUST_TOOLCHAIN='stable' +ARG RUST_TOOLCHAIN='1.69.0' ADD ./dockerfile.d/05_rust.sh /root RUN bash /root/05_rust.sh diff --git a/rust-toolchain.toml b/rust-toolchain.toml index fec36de9ac..29bc80ae9f 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,5 +1,5 @@ [toolchain] -channel = "stable" +channel = "1.69.0" components = [ "cargo", "clippy", @@ -10,5 +10,5 @@ components = [ "rustc", "rustfmt", ] -targets = ["wasm32-unknown-unknown"] +targets = ["wasm32-unknown-unknown", "wasm32-wasi"] profile = "minimal"