I am currently trying to develop an extism plugin which uses lingua. The plugin itself compiles fine using the Extism Rust PDK instructions. But when loading the plugin it throws the following error:
Unknown: crates/api/api_utils/src/plugins.rs:135:36unknown import: `__wbindgen_placeholder__::__wbindgen_object_clone_ref` has not been defined
Here you can see the source code. If I remove the lingua dependency then the plugin works without any errors. From what I understand, lingua should be able to run in Webassembly. Do you know how to fix this problem?
I am currently trying to develop an extism plugin which uses lingua. The plugin itself compiles fine using the Extism Rust PDK instructions. But when loading the plugin it throws the following error:
Here you can see the source code. If I remove the lingua dependency then the plugin works without any errors. From what I understand, lingua should be able to run in Webassembly. Do you know how to fix this problem?