Stream: git-wasmtime

Topic: wasmtime / issue #4415 Type import generated by `wit-bind...


view this post on Zulip Wasmtime GitHub notifications bot (Jul 07 2022 at 23:39):

tsoutsman opened issue #4415:

Loading in a Component hits this unimplemented!() statement when the component was generated with wit-bindgen and wit-component. According to @alexcrichton this is a bug.

Test Case

I've created a repo. To recreate the example run ./run.sh.

Expected Results

The component loads.

Actual Results

Panic.

thread 'main' panicked at 'not implemented: component type export', /home/klim/.cargo/git/checkouts/wasmtime-41807828cb3a7a7e/a8ce7f1/crates/environ/src/component/translate.rs:743:17

Versions and Environment

Wasmtime version or commit: Latest git commit

Operating system: Fedora Linux

Architecture: x86-64

view this post on Zulip Wasmtime GitHub notifications bot (Jul 07 2022 at 23:39):

tsoutsman labeled issue #4415:

Loading in a Component hits this unimplemented!() statement when the component was generated with wit-bindgen and wit-component. According to @alexcrichton this is a bug.

Test Case

I've created a repo. To recreate the example run ./run.sh.

Expected Results

The component loads.

Actual Results

Panic.

thread 'main' panicked at 'not implemented: component type export', /home/klim/.cargo/git/checkouts/wasmtime-41807828cb3a7a7e/a8ce7f1/crates/environ/src/component/translate.rs:743:17

Versions and Environment

Wasmtime version or commit: Latest git commit

Operating system: Fedora Linux

Architecture: x86-64

view this post on Zulip Wasmtime GitHub notifications bot (Jul 07 2022 at 23:41):

tsoutsman edited issue #4415:

Loading in a Component hits this unimplemented!() statement when the component was generated with wit-bindgen and wit-component. According to @alexcrichton this is a bug.

Test Case

I've created a repo. To recreate the example run ./run.sh.

Expected Results

The component loads.

Actual Results

Panic.

thread 'main' panicked at 'not implemented: component type export', /home/klim/.cargo/git/checkouts/wasmtime-41807828cb3a7a7e/a8ce7f1/crates/environ/src/component/translate.rs:743:17

Versions and Environment

Wasmtime version or commit: Latest git commit

Operating system: Fedora Linux

Architecture: x86-64

Notes

Maybe it'd be better to open this issue in the wit-bindgen repo.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 11 2022 at 14:33):

alexcrichton commented on issue #4415:

To explain my original confusion, this is an unimplemented! macro for type exports, not type imports, which makes more sense.


Last updated: Nov 22 2024 at 16:03 UTC