Skip to content
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

Use core instead of std in lazy_static! macro #340

Merged
merged 1 commit into from
Mar 20, 2024

Conversation

peterthejohnston
Copy link
Contributor

In order to let the loom::lazy_static macro work in contexts that are #[no_std], use marker::PhantomData from core instead of std.

In order to let the lazy_static! macro work in contexts that are #[no_std], use marker::PhantomData from core instead of std.
@Darksonn Darksonn merged commit 6432357 into tokio-rs:master Mar 20, 2024
5 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