Stream: git-wasmtime

Topic: wasmtime / issue #3181 [lightbeam] the lightbeam compiler...


view this post on Zulip Wasmtime GitHub notifications bot (Aug 12 2021 at 12:30):

lei-april opened issue #3181:

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: 44f9ccd31640f8d88073d7e57347573d4fd01c14

Operating system: Linux

Architecture: x86-64

view this post on Zulip Wasmtime GitHub notifications bot (Aug 12 2021 at 12:30):

lei-april labeled issue #3181:

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: 44f9ccd31640f8d88073d7e57347573d4fd01c14

Operating system: Linux

Architecture: x86-64

view this post on Zulip Wasmtime GitHub notifications bot (Aug 12 2021 at 12:38):

bjorn3 commented on issue #3181:

Lightbeam is unmaintained and has probably been broken for quite a while.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 13 2021 at 02:36):

lei-april commented on issue #3181:

Lightbeam is unmaintained and has probably been broken for quite a while.

So is there any plan to fix it?

view this post on Zulip Wasmtime GitHub notifications bot (Aug 13 2021 at 06:40):

bjorn3 commented on issue #3181:

Not that I am aware of.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 27 2021 at 17:31):

alexcrichton commented on issue #3181:

Lightbeam was removed in https://github.com/bytecodealliance/wasmtime/pull/3390 as explained in RFC 14, so I'm going to close this.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 27 2021 at 17:31):

alexcrichton closed issue #3181:

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: 44f9ccd31640f8d88073d7e57347573d4fd01c14

Operating system: Linux

Architecture: x86-64


Last updated: Dec 23 2024 at 12:05 UTC