Skip to content

core: Switch to unconditional no_std #3323

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

jplatte
Copy link
Member

@jplatte jplatte commented Jun 22, 2025

… and update imports accordingly.

Motivation

Makes the code less weird, and makes std dependencies clearer by not using the prelude anymore.

Solution

See individual commits.

@hds if you like this, I can convert the remaining crates that currently have #![cfg_attr(not(feature = "std"), no_std)] to this style in follow-up PRs.

@jplatte jplatte requested review from hawkw and a team as code owners June 22, 2025 19:04
… except std::sync::Mutex, which there is a polyfill for.
@jplatte jplatte force-pushed the jplatte/core-no-std branch from 364cacb to b6e7321 Compare June 22, 2025 20:40
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.

1 participant