tokio-rs / loom

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

`loom::LocalKey` does not support specialized implementations for `LocalKey<Cell<T>>` or `LocalKey<RefCell<T>>` #347

Open anko opened 4 months ago

anko commented 4 months ago

Rust 1.73.0 introduced these methods to simplify single-thread synchronization. They are not present in Loom's mock LocalKey.