Open TheZoq2 opened 12 hours ago
Oh, there is a not totally useless backtrace here when running in debug mode. The lack of source locations is a bit annoying but it seems like it is trying to create a temporary file while loading fst
https://github.com/ekiwi/fst-native/blob/main/src/reader.rs#L254
Ah, there it is...
I guess on the web version we need a non-file based solution, could we just create a Vec
instead if we're on wasm?
Awesome job debugging this! Thanks
dump.zip
This file works in the desktop version but fails to load in the WASM version of surfer with
I'm not sure why the fst loader would need file system, and I will try to look into how to actually debug wasm files so we can find the root cause of this