From 1b2fc42e45ff81094b8d6f7694ff6c16b6f3515d Mon Sep 17 00:00:00 2001 From: Will Lillis Date: Thu, 7 Aug 2025 19:02:08 -0400 Subject: [PATCH] fix(ci): ignore mismatched_lifetime_syntaxes lint when building wasmtime (cherry picked from commit 49ae48f7fe5423585e25220b47183636c6b768eb) --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f1a421c3..e6fed643 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -139,6 +139,8 @@ jobs: [[ -n $runner ]] && printf 'CROSS_RUNNER=%s\n' "$runner" >> $GITHUB_ENV fi + # TODO: Remove RUSTFLAGS="--cap-lints allow" once we use a wasmtime release that addresses + # the `mismatched-lifetime-syntaxes` lint - name: Build wasmtime library if: ${{ !matrix.use-cross && contains(matrix.features, 'wasm') }} run: | @@ -156,6 +158,7 @@ jobs: printf 'CMAKE_PREFIX_PATH=%s\n' "$PWD/artifacts" >> $GITHUB_ENV env: WASMTIME_REPO: https://github.com/bytecodealliance/wasmtime + RUSTFLAGS: "--cap-lints allow" - name: Build C library (make) if: ${{ runner.os != 'Windows' }}