You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
drop borrows earlier for async exports in Rust generator (#1124)
While testing runtime borrow enforcement in Wasmtime, I discovered that the
guest code generated by `wit-bindgen` was not dropping borrows early enough for
async exports. Specifically, all borrows need to be dropped before
`task.return` is called, which is what this patch does.
Signed-off-by: Joel Dice <[email protected]>
0 commit comments