From b2e5dd18c3c6d486b28bbcdb9ca121197f8640ea Mon Sep 17 00:00:00 2001 From: 0xd4d Date: Sun, 19 Jul 2020 13:03:57 +0200 Subject: [PATCH] Update build.yml: Temporarily change default toolchain to 1.44.1 when testing iced-x86-js --- .github/workflows/build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3dea3fb15..4ed909672 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -344,14 +344,16 @@ jobs: - name: iced-x86-js tests shell: bash - # 1.45.0 crashes so ignore errors for now - continue-on-error: true run: | export PATH="$HOME/.cargo/bin:$PATH" export RUSTFLAGS="-D warnings" cd src/rust/iced-x86-js + # 1.45.0 can't build it without a stack overflow + rustup default 1.44.1 wasm-pack build --mode force --target nodejs + # Restore default toolchain + rustup default stable cd src/tests npm install npm test