tokio-rs / loom

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

Allow `Mutex` to work with `?Sized` types #339

Closed Phantomical closed 5 months ago

Phantomical commented 5 months ago

std supports this so it would be nice if loom did too. The only changes needed to do it is just adding ?Sized where applicable.

Phantomical commented 5 months ago

It looks like the Option in RwLock breaks this on 1.65 so I've changed it to only add ?Sized for Mutex.