servo / euclid

Geometry primitives (basic linear algebra) for Rust
Other
462 stars 102 forks source link

Make the no-default-features build not fail #468

Closed notgull closed 1 year ago

notgull commented 3 years ago

This pull request resolves #467 . This feature-gates functions that use standard library functionality behind #[cfg(feature = "std")]. Note that the test suite for --no-default-features fails under this pull request; I still consider this an improvement over the entire build failing.

bors-servo commented 2 years ago

:umbrella: The latest upstream changes (presumably #493) made this pull request unmergeable. Please resolve the merge conflicts.