From 4ed13d8a7aaa6cd02baacb33e0622fc4bf0ad7ce Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Thu, 23 Jan 2025 20:41:32 -0800 Subject: [PATCH] rust: Suppress a lint error with new Rust and old wasm-bindgen --- rust/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 49fbd8da0..0bf4d87ef 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -42,3 +42,6 @@ rand = "0.8.5" getrandom = { version = "0.2.15", features = ["js"] } noclip-macros = { version = "*", path = "./noclip-macros" } texture2ddecoder = { git = "https://github.com/wgreenberg/texture2ddecoder" } + +[lints.rust] +unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm_bindgen_unstable_test_coverage)'] }