Stream: wit-bindgen

Topic: ✔ Unexpected end-of-file


view this post on Zulip Jens Gåsemyr Magnus (Nov 26 2022 at 10:10):

Hey, I'm struggling to generate bindings on other platforms than mac. On mac it's fine, but on both linux and windows I get:

Error: failed to parse the input component

Caused by:
    unexpected end-of-file (at offset 0x1e18f7)

Anything I can do about this?

view this post on Zulip Notification Bot (Nov 28 2022 at 15:20):

Jens Gåsemyr Magnus has marked this topic as resolved.

view this post on Zulip Jens Gåsemyr Magnus (Nov 28 2022 at 15:20):

This was likely just a version mismatch

view this post on Zulip Brian (Nov 28 2022 at 21:25):

I took a stab at re-enabling use (for single file *.wits). https://github.com/bytecodealliance/wasm-tools/pull/848

Happy to throw away if this isn't the right direction.

WIP This PR temporarily re-enables use for the single-file *.wit scenario. The implementation resolves interfaces topologically and then processes each interface's use dependencies in order. As an ...

Last updated: Nov 22 2024 at 16:03 UTC