bevy/crates/bevy_render/src/camera
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
..
camera_driver_node.rs RenderGraph Labelization (#10644) 2024-01-31 14:51:19 +00:00
camera.rs Derive Reflect for Exposure (#11907) 2024-02-16 19:03:46 +00:00
clear_color.rs Rename bevy_render::Color to LegacyColor (#12069) 2024-02-24 21:35:32 +00:00
manual_texture_view.rs bevy_reflect: FromReflect Ergonomics Implementation (#6056) 2023-06-29 01:31:34 +00:00
mod.rs Derive Reflect for Exposure (#11907) 2024-02-16 19:03:46 +00:00
projection.rs Check cfg during CI and fix feature typos (#12103) 2024-02-25 15:19:27 +00:00