bytecodealliance / ComponentizeJS

JS -> WebAssembly Component
Apache License 2.0
242 stars 32 forks source link

Componentize-js: support resources in JS bindgen #62

Closed pchickey closed 1 year ago

guybedford commented 1 year ago

Previous draft in https://github.com/bytecodealliance/componentize-js/tree/resources.

dicej commented 1 year ago

I'm currently working on this, picking up where @guybedford left off. The two existing resources tests now pass, although there's still more work to do and tests to add.

https://github.com/dicej/componentize-js/tree/resources https://github.com/dicej/jco/tree/resources

See also https://github.com/bytecodealliance/componentize-js/issues/57

dicej commented 1 year ago

I've opened draft PRs for this: https://github.com/bytecodealliance/jco/pull/215 https://github.com/bytecodealliance/componentize-js/pull/65

The work is basically done, modulo some refactoring @guybedford is doing on the host binding generator to fix a name clash bug that breaks the resource-floats test. Once that's been merged, I'll move the PRs out of draft.

guybedford commented 1 year ago

Landed in https://github.com/bytecodealliance/componentize-js/pull/65.