Tests in bevy_input_focus fail to ru with default feature flags
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 161
Description
## Bevy version
https://github.com/bevyengine/bevy/commit/0a9740c18f9ae5338e29e4fbf49c55c34ffdf429
## What you did
Run a unit test in bevy_input_focus from within VSCode, which ran:
```
cargo test --package bevy_input_focus --lib --all-features -- directional_navigation::tests::looping_grid_edges --exact --show-output
```
## What went wrong
Compile failure, with:
```
Compiling glam v0.29.2
error[E0599]: no function or associated item named `abs` found for type `f32` in the current scope
--> /home/alice/.cargo/registry/src/index.crates.io-6f17d22bba15001f/glam-0.29.2/src/f32/math.rs:147:14
|
147 | f32::abs(f)
| ^^^ function or associated item not found in `f32`
```
And so on.
## Additional information
`cargo run -p ci` works, suggesting that this is a feature flag issue. Adding the `libm` flag to `bevy_math` as a dev-dependency fixes this crop of errors, but reveals more deeper down.
Contributor guide
Assessment
This issue has not been assessed yet.