-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
I compiled rustls
with the ring-wasi but I guess there's some problem in the build
$ wasmer run --net
2023-06-16T17:34:36.388423Z ERROR ThreadId(01) wasmer_wasix::state::env: wasi[1]::wasm instantiate error (Error while importing "env"."ring_core_dev_x25519_sc_reduce": unknown import. Expected Function(FunctionType { params: [I32], results: [] }))
error: Instantiation failed
╰─▶ 1: Error while importing "env"."ring_core_dev_x25519_sc_reduce": unknown import. Expected Function(FunctionType { params: [I32], results: [] })
When I deleted the wasm-libs
directory and compile using Zig:
LLVM ERROR: malformed uleb128, extends past end
warning: `ring` (lib) generated 1 warning
The following warnings were emitted during compilation:
warning: warning: /Library/Developer/CommandLineTools/usr/bin/ranlib: archive library: /Volumes/Work/Projects/Wasmer/ring-wasi/target/wasm32-wasmer-wasi/debug/build/ring-5105b7f4635f2f29/out/libring_core_dev_.a the table of contents is empty (no object file members in the library define global symbols)
warning: warning: /Library/Developer/CommandLineTools/usr/bin/ranlib: archive library: /Volumes/Work/Projects/Wasmer/ring-wasi/target/wasm32-wasmer-wasi/debug/build/ring-5105b7f4635f2f29/out/libring_core_dev_test.a the table of contents is empty (no object file members in the library define global symbols)
Metadata
Metadata
Assignees
Labels
No labels