bevy/crates/bevy_winit/src
eri 5f8f3b532c
Check cfg during CI and fix feature typos (#12103)
# 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>
2024-02-25 15:19:27 +00:00
..
accessibility.rs Move EntityHash related types into bevy_ecs (#11498) 2024-02-12 15:02:24 +00:00
converters.rs Add logical key data to KeyboardInput (#11400) 2024-01-22 15:25:17 +00:00
lib.rs Check cfg during CI and fix feature typos (#12103) 2024-02-25 15:19:27 +00:00
system.rs Avoid unwraps in winit fullscreen handling code (#11735) 2024-02-10 20:17:04 +00:00
winit_config.rs Change WinitPlugin defaults to limit game update rate when window is not visible (for real this time) (#11305) 2024-01-15 17:53:35 +00:00
winit_windows.rs Move EntityHash related types into bevy_ecs (#11498) 2024-02-12 15:02:24 +00:00