You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 24, 2022. It is now read-only.
In this section, lucet-runtime and lucet-wasi are specified as dependencies in Cargo.toml, by relative path.
So I try to create an independent package with cargo new, and specify their latest versions (they are both 0.6.1).
I copied src/main.rs in that page, and run cargo run then it raised an error:
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: DlError(Custom { kind: Other, error: "dlopen(/Users/yamazaki/repos/github.com/zaki-yama-labs/lucet-playground/lucet-runtime-example/example.so, 2): Symbol not found: _hostcall_wasi_snapshot_preview1_fd_close\n Referenced from: /Users/yamazaki/repos/github.com/zaki-yama-labs/lucet-playground/lucet-runtime-example/example.so\n Expected in: flat namespace\n in /Users/yamazaki/repos/github.com/zaki-yama-labs/lucet-playground/lucet-runtime-example/example.so" })', src/main.rs:8:50
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Can I solve this error? I really appreciate if you tell me if there are any other requirements.
Hello. I just started to learn how to use Lucet by reading the document.
And I'm facing a problem in Using the Lucet runtime API from Rust - Lucet section.
In this section,
lucet-runtime
andlucet-wasi
are specified as dependencies in Cargo.toml, by relative path.So I try to create an independent package with
cargo new
, and specify their latest versions (they are both 0.6.1).I copied
src/main.rs
in that page, and runcargo run
then it raised an error:Can I solve this error? I really appreciate if you tell me if there are any other requirements.
Additional info:
example.so
which was compiled in Lucet "Hello World" - LucetThe text was updated successfully, but these errors were encountered: