-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is wasm32_wasip1_threads
Rust target supported?
#253
Comments
Ok, I see. There's no support for shared memory just yet, right? |
IIRC the C API has all the bits necessary for this, but yeah I don't think shared memory is bound yet. This library is notably not threadsafe yet though so you'll need to be careful to use things correctly lest you run into data races. |
Yeah, I saw it! |
So, basically, I started implementing SharedMemory until I got here: |
Oh I'd recommend instead using |
Hi @atilag @alexcrichton , Thank you so much for your work on this! Is this issue addressed with #255 merged and released? |
I think it should be good yeah, but I think it'd be best to test in a higher-level use case as well before closing perhaps |
@alexcrichton @atilag I am looking to exercise with C++ wasi-sdk modules. It seems that we need something like a |
Hey team!
I wanted to use a .wasm module that has been compiled from Rust, using the
wasm32_wasip1_threads
target but it looks like this target required some imports from the host that are not being satisfied when I try to instantiate a module like:I would have expected the
define_wasi()
to prepare everything so the required imports are satisfied, but I guess thiswasm32_wasip1_threads
target might not be supported just yet?Thank you very much!!
Awesome work, btw :)
The text was updated successfully, but these errors were encountered: