wasmer-python icon indicating copy to clipboard operation
wasmer-python copied to clipboard

How to enable threads via python wasmer api?

Open smpurkis opened this issue 3 years ago • 2 comments

Summary

Hello, how do I enable wasm threads using python wasmer API?

Additional details

I've looked for "threads" in the documentation and only found it mentioned at https://wasmerio.github.io/wasmer-python/api/wasmer/wasmer.html#MemoryType.shared. This doesn't seem to be what I'm looking for. Anyone how to config wasmer python to enable threads and other features?

smpurkis avatar Aug 01 '22 15:08 smpurkis

I have the same problem

bananabr avatar Feb 20 '23 01:02 bananabr

Same here. What is weird is that threads are supported by default in wasmer: https://github.com/wasmerio/wasmer/blob/9c81cb8cd376c9a2dd23fa8d9b032a3a1eeaf12f/lib/cli/src/common.rs#LL20C8-L20C8

Also mentioned here (Singlepass and LLVM compilers support "Threads (Phase 2)"): https://docs.wasmer.io/ecosystem/wasmer/wasmer-features

I guess this repo is not updated since there's no construct to enable or disable features as these?

stawiski avatar May 30 '23 02:05 stawiski