diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-11-30 18:31:56 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-11-30 18:31:56 +0100 |
| commit | f16a9ea9ad362b71d37774870080f5b6545e4f2f (patch) | |
| tree | ee5934b5cd7086fad27e337f1b0a961b65143746 /crates/typst-cli | |
| parent | de40124adb3c7bd064e9dbdcb4d82db6843889c3 (diff) | |
Drop dependency on `DashMap`
DashMap doesn't work in multi-threaded WebAssembly in Safari: https://bugs.webkit.org/show_bug.cgi?id=265581
Diffstat (limited to 'crates/typst-cli')
| -rw-r--r-- | crates/typst-cli/src/world.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst-cli/src/world.rs b/crates/typst-cli/src/world.rs index f375c648..99456679 100644 --- a/crates/typst-cli/src/world.rs +++ b/crates/typst-cli/src/world.rs @@ -111,7 +111,7 @@ impl SystemWorld { /// Reset the compilation state in preparation of a new compilation. pub fn reset(&mut self) { - for slot in self.slots.borrow_mut().values_mut() { + for slot in self.slots.get_mut().values_mut() { slot.reset(); } self.now.take(); |
