Skip to content

Conversation

@yamt
Copy link
Contributor

@yamt yamt commented Oct 20, 2023

with the latest spec, we should import and export memory for wasi-threads.
some runtimes (eg. wasmtime) actually rely on it.

issue: #111046

tested with: toywasm, wasmtime

@erlend-aasland
Copy link
Contributor

I'll let Brett (or another WASI expert) take care of this. The configure.ac change is fine.

@brettcannon brettcannon added the needs backport to 3.12 only security fixes label Oct 20, 2023
@brettcannon brettcannon self-assigned this Oct 20, 2023
@brettcannon brettcannon merged commit 5dfa717 into python:main Oct 20, 2023
@miss-islington-app
Copy link

Thanks @yamt for the PR, and @brettcannon for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖

@brettcannon
Copy link
Member

@yamt thanks!

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 20, 2023
…er (pythonGH-111099) (cherry picked from commit 5dfa717) Co-authored-by: YAMAMOTO Takashi <yamamoto@midokura.com>
@bedevere-app
Copy link

bedevere-app bot commented Oct 20, 2023

GH-111141 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.12 only security fixes label Oct 20, 2023
brettcannon pushed a commit that referenced this pull request Oct 20, 2023
…ker (GH-111099) (GH-111141) gh-111046: for wasi-threads, export memory as well via the linker (GH-111099) (cherry picked from commit 5dfa717) Co-authored-by: YAMAMOTO Takashi <yamamoto@midokura.com>
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants