File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
crates/bevy_reflect_compile_fail_tests Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 1+ # Compile fail tests for bevy_reflect
2+
3+ This crate is separate from ` bevy_reflect ` and not part of the Bevy workspace in order to not fail ` crater ` tests for
4+ Bevy.
5+ The tests assert on the exact compiler errors and can easily fail for new Rust versions due to updated compiler errors (e.g. changes in spans).
6+
7+ The ` CI ` workflow executes these tests on the stable rust toolchain (see [ tools/ci] ( ../../tools/ci/src/main.rs ) ).
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ fn main() {
100100 {
101101 // Reflect Compile Fail Tests
102102 // Run tests (they do not get executed with the workspace tests)
103- // - See crates/bevy_ecs_compile_fail_tests /README.md
103+ // - See crates/bevy_reflect_compile_fail_tests /README.md
104104 let _subdir = sh. push_dir ( "crates/bevy_reflect_compile_fail_tests" ) ;
105105 cmd ! ( sh, "cargo test --target-dir ../../target" )
106106 . run ( )
You can’t perform that action at this time.
0 commit comments