From 9aec305ad908f25ca785ec4571aaf41f9643c63b Mon Sep 17 00:00:00 2001 From: dAxpeDDa Date: Mon, 27 Mar 2023 08:27:36 +0200 Subject: [PATCH] Fix CI --- .github/workflows/test.yml | 2 +- tests/instant.rs | 1 + tests/system_time.rs | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f8afa40..e760204 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -84,7 +84,7 @@ jobs: - name: Test env: RUSTFLAGS: -Ctarget-feature=+atomics,+bulk-memory,+mutable-globals - WASM_SERVER_RUNNER_NO_MODULE: 1 + WASM_BINDGEN_USE_NO_MODULE: 1 run: cargo test --no-fail-fast --target wasm32-unknown-unknown -Zbuild-std=panic_abort,std diff --git a/tests/instant.rs b/tests/instant.rs index a007d17..d0554d0 100644 --- a/tests/instant.rs +++ b/tests/instant.rs @@ -1,4 +1,5 @@ #![allow( + clippy::cognitive_complexity, clippy::semicolon_if_nothing_returned, clippy::unchecked_duration_subtraction )] diff --git a/tests/system_time.rs b/tests/system_time.rs index 79c3e6b..d66e509 100644 --- a/tests/system_time.rs +++ b/tests/system_time.rs @@ -1,4 +1,4 @@ -#![allow(clippy::semicolon_if_nothing_returned)] +#![allow(clippy::cognitive_complexity, clippy::semicolon_if_nothing_returned)] mod util;