Skip to content

Feature gate is_polygon_simple behind the alloc feature.#16739

Merged
alice-i-cecile merged 2 commits intobevyengine:mainfrom
pcwalton:feature-gate-polygon-simplicity
Dec 10, 2024
Merged

Feature gate is_polygon_simple behind the alloc feature.#16739
alice-i-cecile merged 2 commits intobevyengine:mainfrom
pcwalton:feature-gate-polygon-simplicity

Conversation

@pcwalton
Copy link
Copy Markdown
Contributor

CI was failing because bevy_math no longer compiled with libcore. This was due to PR #15981. This commit fixes the issue by moving the applicable functionality behind #[cfg(feature = "alloc")].

CI was failing because `bevy_math` no longer compiled with `libcore`.
This was due to PR bevyengine#15981. This commit fixes the issue by moving the
applicable functionality behind `#[cfg(feature = "alloc")]`.
@pcwalton pcwalton added P-Regression Functionality that used to work but no longer does. Add a test for this! A-Math Fundamental domain-agnostic mathematical operations S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Dec 10, 2024
Copy link
Copy Markdown
Contributor

@bushrat011899 bushrat011899 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this one! I'm surprised it managed to sneak in, I guess the full CI isn't run during the merging perhaps? Regardless, this shouldn't be a problem going forward anyway, since every other crate in Bevy will require alloc, so the only new feature will be std, which should hopefully be less frequent.

@alice-i-cecile alice-i-cecile added S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it and removed S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Dec 10, 2024
@alice-i-cecile alice-i-cecile added this pull request to the merge queue Dec 10, 2024
Merged via the queue into bevyengine:main with commit bb090e6 Dec 10, 2024
BD103 pushed a commit to BD103/bevy that referenced this pull request Dec 10, 2024
…ine#16739)

CI was failing because `bevy_math` no longer compiled with `libcore`.
This was due to PR bevyengine#15981. This commit fixes the issue by moving the
applicable functionality behind `#[cfg(feature = "alloc")]`.
ecoskey pushed a commit to ecoskey/bevy that referenced this pull request Jan 6, 2025
…ine#16739)

CI was failing because `bevy_math` no longer compiled with `libcore`.
This was due to PR bevyengine#15981. This commit fixes the issue by moving the
applicable functionality behind `#[cfg(feature = "alloc")]`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Math Fundamental domain-agnostic mathematical operations P-Regression Functionality that used to work but no longer does. Add a test for this! S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants