Skip to content

Commit

Permalink
rust: Suppress a lint error with new Rust and old wasm-bindgen
Browse files Browse the repository at this point in the history
  • Loading branch information
magcius committed Jan 24, 2025
1 parent 1c7d64b commit 4ed13d8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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)'] }

0 comments on commit 4ed13d8

Please sign in to comment.