summaryrefslogtreecommitdiff
path: root/crates/parser
diff options
context:
space:
mode:
Diffstat (limited to 'crates/parser')
-rw-r--r--crates/parser/Cargo.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/parser/Cargo.toml b/crates/parser/Cargo.toml
index 042eeda..7d781a4 100644
--- a/crates/parser/Cargo.toml
+++ b/crates/parser/Cargo.toml
@@ -32,3 +32,6 @@ std = ["tinywasm-types/std", "wasmparser/std"]
# validate WebAssembly while parsing
validate = ["wasmparser/features", "wasmparser/validate"]
+
+[lints.rust]
+unexpected_cfgs = { level = "warn", check-cfg = ["cfg(rust_analyzer)"] }