From a104c100fa2f761108f6f5e9560c359a875d2bbe Mon Sep 17 00:00:00 2001 From: Ben Heidemann Date: Mon, 25 Nov 2024 18:30:31 +0000 Subject: [PATCH] ci: fix wasm-bindgen warning on nightly See https://github.com/mpalmer/action-validator/issues/78 See https://github.com/rustwasm/wasm-bindgen/issues/4283 --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 3dfd387..1db98be 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -47,3 +47,6 @@ wasm-bindgen-test = "0.3.13" [profile.release] # Tell `rustc` to optimize for small code size. opt-level = "s" + +[lints.rust] +unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm_bindgen_unstable_test_coverage)'] }