tsoutsman opened issue #4415:
Loading in a
Componenthits thisunimplemented!()statement when the component was generated withwit-bindgenandwit-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:17Versions and Environment
Wasmtime version or commit: Latest git commit
Operating system: Fedora Linux
Architecture: x86-64
tsoutsman labeled issue #4415:
Loading in a
Componenthits thisunimplemented!()statement when the component was generated withwit-bindgenandwit-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:17Versions and Environment
Wasmtime version or commit: Latest git commit
Operating system: Fedora Linux
Architecture: x86-64
tsoutsman edited issue #4415:
Loading in a
Componenthits thisunimplemented!()statement when the component was generated withwit-bindgenandwit-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:17Versions 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-bindgenrepo.
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: Dec 06 2025 at 06:05 UTC