tokio-rs / loom

Concurrency permutation testing tool for Rust.
MIT License
2.08k stars 110 forks source link

Use core instead of std in lazy_static! macro #340

Closed peterthejohnston closed 5 months ago

peterthejohnston commented 5 months ago

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