tokio-rs / loom

Concurrency permutation testing tool for Rust.
MIT License
2.14k stars 111 forks source link

Change derive(Debug) AtomicPtr to an explicit impl for all T, not just T: Debug #255

Closed zjijz closed 2 years ago

zjijz commented 2 years ago

I think the root issue here is one of the tasks related to rust#26925. AtomicPtr<T> can still have a debug implementation when T is not itself Debug.

This was brought up from doing work on haphazard#32.