Skip to content

How to cross-compiling wasm32-unknown-unknown on ubuntu #2306

Discussion options

You must be logged in to vote

Please see #1522 (comment) - you need make sure you are targeting wasm in your Rust build and also have built your own wasm Python interpreter (I'm not aware of any wasm distributions of Python). It sounds like Python 3.11 is the first Python release that might support building for wasm.

Certainly this is something you're free to try but is out of scope for PyO3 for now.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by davidhewitt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2277 on April 14, 2022 07:05.