Skip to content

Commit

Permalink
ci: fix rust:lint job
Browse files Browse the repository at this point in the history
Recently, CI jobs started failing on the `rust:lint` step.
One suitable workaround was to ignore the questionable lints
via Cargo.toml:

```
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm_bindgen_unstable_test_coverage)'] }
```

This seems to resolve. I also tried bumping the `wasm-bindgen` dep to
0.2.100, which didn't resolve on its own. See related discussion in [0].

[0] rustwasm/wasm-bindgen#4283
  • Loading branch information
conorsch committed Jan 17, 2025
1 parent 97842ea commit b77bd2b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/wasm/crate/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,6 @@ web-sys = { version = "0.3.70", features = ["console"] }
[dev-dependencies]
wasm-bindgen-test = "0.3.43"
serde_json = "1.0.128"

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm_bindgen_unstable_test_coverage)'] }

0 comments on commit b77bd2b

Please sign in to comment.