-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
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
bevy_math tests are broken #12729
Comments
Is there a way to enable the Alternatively, it may be possible to specific glam as a dev-dependency with the approx feature enabled. ( |
Seems like the current way of doing this would be what's described here rust-lang/cargo#2911 (comment)
So we'd add this to bevy_math's dev-dependencies bevy_math = { path = ".", features = ["approx"] } |
# Objective Fixes `cargo test -p bevy_math` as in #12729. ## Solution As described in [message](#12729 (comment)) Added workaround `bevy_math = { path = ".", version = "0.14.0-dev", features = ["approx"] }` to `bevy_math`'s `dev-dependencies` --------- Co-authored-by: BD103 <[email protected]>
PR #12748 , which is fix for this issue wasn't attached to this Issue, but it had been merged and closed. @spectria-limina can you close this Issue manualy if it isn't actual? |
Bevy version
31d9146
What you did
cargo test -p bevy_math
What went wrong
Additional information
This appears to be because the implementations of
approx
types are not available when compiling for tests.cargo test -p bevy_math --features approx
fixes things.The text was updated successfully, but these errors were encountered: