mirror of
https://github.com/bevyengine/bevy
synced 2024-12-28 22:13:08 +00:00
9d59e52bb0
# Objective Make compile fail tests less likely to break with new Rust versions. Closes #12627 ## Solution Switch from [`trybuild`](https://github.com/dtolnay/trybuild) to [`ui_test`](https://github.com/oli-obk/ui_test). ## TODO - [x] Update `bevy_ecs_compile_fail_tests` - [x] Update `bevy_macros_compile_fail_tests` - [x] Update `bevy_reflect_compile_fail_tests` --------- Co-authored-by: Oli Scherer <github35764891676564198441@oli-obk.de> Co-authored-by: BD103 <59022059+BD103@users.noreply.github.com>
3 lines
108 B
Rust
3 lines
108 B
Rust
fn main() -> bevy_compile_test_utils::ui_test::Result<()> {
|
|
bevy_compile_test_utils::test("tests/ui")
|
|
}
|