Closed
Description
Test Case
Example for C embedding from the official doc site: https://docs.wasmtime.dev/examples-c-hello-world.html
With a few changes to enable the lightbeam compiler:
48c48,50
< wasm_engine_t *engine = wasm_engine_new();
---
> wasm_config_t* config = wasm_config_new();
> wasmtime_config_strategy_set(config, WASMTIME_STRATEGY_LIGHTBEAM);
> wasm_engine_t *engine = wasm_engine_new_with_config(config);
Steps to Reproduce
Compile and run the above example, using wasmtime's main branch with lightbeam enabled.
Expected Results
The example runs correctly.
Actual Results
The compiler panics:
Initializing...
Compiling module...
thread '<unnamed>' panicked at 'not implemented', crates/lightbeam/wasmtime/src/lib.rs:224:9
Versions and Environment
Wasmtime version or commit: 44f9ccd
Operating system: Linux
Architecture: x86-64