bevy/crates/bevy_ecs_compile_fail_tests/Cargo.toml
Brezak 9d59e52bb0
Switch to ui_test in compile fail tests. (#12810)
# 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>
2024-04-27 00:00:57 +00:00

19 lines
545 B
TOML

[package]
name = "bevy_ecs_compile_fail_tests"
edition = "2021"
description = "Compile fail tests for Bevy Engine's entity component system"
homepage = "https://bevyengine.org"
repository = "https://github.com/bevyengine/bevy"
license = "MIT OR Apache-2.0"
publish = false
[dependencies]
# ui_test dies if we don't specify the version. See oli-obk/ui_test#211
bevy_ecs = { path = "../bevy_ecs", version = "0.14.0-dev" }
[dev-dependencies]
bevy_compile_test_utils = { path = "../bevy_compile_test_utils" }
[[test]]
name = "ui"
harness = false