Skip to content

Commit a564a5f

Browse files
committed
fix dropping of resource borrows in async-lifted exports
Previously, I had been using a global variable to track borrows which needed to be dropped when returning from an export, which works fine for sync-lifted exports but not so fine for async-lifted ones. In the latter case, we would incorrectly drop borrows from other concurrent calls. Now I've eliminated the global variable in favor of tracking the borrows on a per-call basis. This also includes few minor chores: - Switch CI to use final CPython 3.14.0 release - Update Wasmtime to v39.0.0 - Update to newer wasm-tools commit I had also intended to update to WASI-SDK 29, but it seems to have broken the TCP example. Will debug that later. Signed-off-by: Joel Dice <[email protected]>
1 parent b39f84b commit a564a5f

File tree

19 files changed

+217
-124
lines changed

19 files changed

+217
-124
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030

3131
- uses: actions/setup-python@v5
3232
with:
33-
python-version: "3.14.0-rc.3"
33+
python-version: "3.14.0"
3434

3535
- name: Install latest Rust nightly toolchain
3636
uses: dtolnay/rust-toolchain@nightly
@@ -145,7 +145,7 @@ jobs:
145145

146146
- uses: actions/setup-python@v5
147147
with:
148-
python-version: "3.14.0-rc.3"
148+
python-version: "3.14.0"
149149

150150
- name: Install latest Rust nightly toolchain
151151
uses: dtolnay/rust-toolchain@nightly

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828

2929
- uses: actions/setup-python@v5
3030
with:
31-
python-version: "3.14.0-rc.3"
31+
python-version: "3.14.0"
3232

3333
- name: Install latest Rust nightly toolchain
3434
uses: dtolnay/rust-toolchain@nightly
@@ -138,7 +138,7 @@ jobs:
138138

139139
- uses: actions/setup-python@v5
140140
with:
141-
python-version: "3.14.0-rc.3"
141+
python-version: "3.14.0"
142142

143143
- name: Test
144144
shell: bash

0 commit comments

Comments
 (0)