# Objective - Add the new `-Zcheck-cfg` checks to catch more warnings - Fixes #12091 ## Solution - Create a new `cfg-check` to the CI that runs `cargo check -Zcheck-cfg --workspace` using cargo nightly (and fails if there are warnings) - Fix all warnings generated by the new check --- ## Changelog - Remove all redundant imports - Fix cfg wasm32 targets - Add 3 dead code exceptions (should StandardColor be unused?) - Convert ios_simulator to a feature (I'm not sure if this is the right way to do it, but the check complained before) ## Migration Guide No breaking changes --------- Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com> |
||
|---|---|---|
| .. | ||
| action-on-PR-labeled.yml | ||
| ci-comment-failures.yml | ||
| ci.yml | ||
| daily.yml | ||
| dependencies.yml | ||
| docs.yml | ||
| post-release.yml | ||
| release.yml | ||
| validation-jobs.yml | ||
| welcome.yml | ||