bytecodealliance / jco

JavaScript tooling for working with WebAssembly Components
https://bytecodealliance.github.io/jco/
Apache License 2.0
571 stars 53 forks source link

fix: support runtime borrow drop tracking #429

Closed guybedford closed 2 months ago

guybedford commented 2 months ago

This updates the borrow dropping after a call to use a runtime list of borrows, instead of a compile-time list, to ensure it properly supports all nested data structures and lists.

Fixes https://github.com/bytecodealliance/jco/issues/428.