tsoutsman opened issue #4415:
Loading in a
Component
hits thisunimplemented!()
statement when the component was generated withwit-bindgen
andwit-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
tsoutsman labeled issue #4415:
Loading in a
Component
hits thisunimplemented!()
statement when the component was generated withwit-bindgen
andwit-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
tsoutsman edited issue #4415:
Loading in a
Component
hits thisunimplemented!()
statement when the component was generated withwit-bindgen
andwit-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.
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