We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
To follow Rust's mutability Rules, Bevy dissallows usage of systems that would break them:
fn resource_system(res: Res<A>, res_mut: ResMut<A>) {} fn query_system(query: Query<&B>, query_mut: Query<&mut B>) {}
Sadly Bevy can only check this at runtime, where it panics if it finds any conflict.
bevy_lint should Lint systems, to provide a check at "compile-time".
The text was updated successfully, but these errors were encountered:
No branches or pull requests
To follow Rust's mutability Rules, Bevy dissallows usage of systems that would break them:
Sadly Bevy can only check this at runtime, where it panics if it finds any conflict.
bevy_lint should Lint systems, to provide a check at "compile-time".
The text was updated successfully, but these errors were encountered: