Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove parking_lot dependency to fix wasm32-unknown-unknown
Works around Amanieu/parking_lot#269 where later versions of `parking_lot` were pulling in an undefined `env::now` symbol failing to be used in `wasm32-unknown-unknown` target (when not targetting web environments). Replaced for now with just `std::sync::Mutex`, though we could optionally use `parking_lot` on non-wasm32 and use just "unsafe" single-threaded access for wasm32-unknown-unknown. Do want that core issue in parking_lot to be resolved, or at least clarified if non-web wasm32 is a target or not. But at least this solves our problems for now in our own crate.
- Loading branch information