bytecodealliance / bytecodealliance/ComponentizeJS
Auto-drop borrows
オープン
- 主要言語
- Rust
- スター
- 391
- フォーク
- 53
- 平均マージ
- 3日 5時間
- マージ済み PR(30日)
- 1
説明
In https://github.com/bytecodealliance/jco/pull/262, we now validate all borrows properly.
The need to call `resource[Symbol.dispose]()` explicitly for all functions that take resources seems unnecessary though.
Rather, the implementation should always auto-drop borrows at the bindgen level without requiring the JS user to have to do that explicitly. Explicitly drop calls should instead act as early drops if desired.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。