Skip to content

Conversation

@cart
Copy link
Member

@cart cart commented Apr 11, 2025

This reverts commit ac52cca.

Fixes #18815

Objective

#18782 resulted in using log macros instead of tracing macros (in the interest of providing no_std support, specifically no_atomic support). That tradeoff isn't worth it, especially given that tracing is likely to get no_atomic support.

Solution

Revert #18782

@cart cart added the C-Bug An unexpected or incorrect behavior label Apr 11, 2025
@cart cart added this to the 0.16 milestone Apr 11, 2025
@Shatur
Copy link
Contributor

Shatur commented Apr 12, 2025

The downside is that all third-party crates with no_std will need to depend on log directly and import it explicitly, rather than using bevy::prelude::*. However, this might be the lesser evil.

Copy link
Contributor

@ChristopherBiscardi ChristopherBiscardi left a comment

Choose a reason for hiding this comment

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

This resolves #18815 for me

@cart
Copy link
Member Author

cart commented Apr 13, 2025

However, this might be the lesser evil

Yup this is the lesser evil in my book, especially given that tracing will soon support the relevant no_std scenarios.

@mockersf mockersf added this pull request to the merge queue Apr 14, 2025
Merged via the queue into bevyengine:main with commit 59bdaca Apr 14, 2025
36 checks passed
mockersf pushed a commit that referenced this pull request Apr 14, 2025
…18816) This reverts commit ac52cca. Fixes #18815 the interest of providing no_std support, specifically no_atomic support). That tradeoff isn't worth it, especially given that tracing is likely to get no_atomic support. Revert #18782
jf908 pushed a commit to jf908/bevy that referenced this pull request May 12, 2025
…18782)" (bevyengine#18816) This reverts commit ac52cca. Fixes bevyengine#18815 # Objective bevyengine#18782 resulted in using `log` macros instead of `tracing` macros (in the interest of providing no_std support, specifically no_atomic support). That tradeoff isn't worth it, especially given that tracing is likely to get no_atomic support. ## Solution Revert bevyengine#18782
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-Bug An unexpected or incorrect behavior

4 participants