Skip to content

Conversation

n3vu0r
Copy link
Contributor

@n3vu0r n3vu0r commented Oct 3, 2025

Building nalgebra with glam in no_std environments currently fails with "You must specify a math backend. Consider enabling either std, libm, or nostd-libm.". This PR forwards the libm feature to the glam dependency such that building in no_std environments succeeds now:

cargo build --target thumbv7m-none-eabi --no-default-features --features convert-glam030,libm

The chosen target is a no_std environment.

@geo-ant
Copy link
Collaborator

geo-ant commented Oct 7, 2025

weird that there's no glam026 feature to be found, but it seems to be missing from the Cargo.toml entirely, but that's not on you :)

LGTM and thank you.

@geo-ant geo-ant merged commit e3bb6b7 into dimforge:main Oct 7, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants