You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the various traits to compute an interaction with an unsatisfied bound, the compilation errors shown are sometimes hard to diagnose or simply wrong. For example, missing the glam feature when compiling the ring-formation example shows the following error:
error[E0275]: overflow evaluating the requirement `_: Sized`
--> examples\ring-formation\src\nbody.rs:26:10
|
26 | .brute_force_simd::<8>(Acceleration::checked())
| ^^^^^^^^^^^^^^^^
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`ring_formation`)
= note: required for `GravitationalField<bevy::prelude::Vec3, _>` to implement `ToSimd<8>`
= note: required for `BruteForceSimd<8, particular::gravity::newtonian::Acceleration<true>>` to implement `particular::Interaction<&[(bevy::prelude::Vec3, f32)]>`
For more information about this error, try `rustc --explain E0275`.
error: could not compile `ring-formation` (bin "ring-formation") due to 1 previous error
The text was updated successfully, but these errors were encountered:
When using the various traits to compute an interaction with an unsatisfied bound, the compilation errors shown are sometimes hard to diagnose or simply wrong. For example, missing the
glam
feature when compiling thering-formation
example shows the following error:The text was updated successfully, but these errors were encountered: