From 682a33afe4181fd1bcb4f42ac1b271d0cb4824f3 Mon Sep 17 00:00:00 2001 From: jiaxiao zhou Date: Thu, 12 Sep 2024 08:34:59 +0000 Subject: [PATCH] benchmark: fix the CI failure the setup-rust-toolchain should respect the rust-toolchains.toml and disable the warnings flag to make it behave the same as other CI actions we have. Signed-off-by: jiaxiao zhou --- .github/workflows/benchmarks.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index b5bd8298f..68ff78c1f 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -15,8 +15,7 @@ jobs: run: git submodule update --init --recursive - uses: actions-rust-lang/setup-rust-toolchain@v1 with: - toolchain: stable - target: wasm32-wasi + rustflags: '' #Disable. By default this action sets environment variable is set to -D warnings. We manage this in the Makefile - name: Setup build env run: | os=$(echo "$RUNNER_OS" | tr '[:upper:]' '[:lower:]')