osokin opened issue #7567:
Hi,
I'm using
libwasmtime
, C API ofwasmtime
, to build awasm
module for NGINX Unit.
Previously it worked well by specifyingcrates/c-api/Cargo.toml
configuration forcargo
.
Since 15.0.0 that doesn't work anymore. Could you guide me how can I build a static library
for the recent version?Thank you.
bjorn3 commented on issue #7567:
https://github.com/bytecodealliance/wasmtime/pull/7341 changed the layout. Looks like you now have to specify
crates/c-api/artifact/Cargo.toml
instead.
osokin closed issue #7567:
Hi,
I'm using
libwasmtime
, C API ofwasmtime
, to build awasm
module for NGINX Unit.
Previously it worked well by specifyingcrates/c-api/Cargo.toml
configuration forcargo
.
Since 15.0.0 that doesn't work anymore. Could you guide me how can I build a static library
for the recent version?Thank you.
osokin commented on issue #7567:
Thanks for the quick reply, @bjorn3! That works!
pchickey commented on issue #7567:
Instead of using
--manifest-path whatever/Cargo.toml
, use-p wasmtime-c-api
for your build scripts to be resilient against these sorts of changes.
osokin commented on issue #7567:
Instead of using
--manifest-path whatever/Cargo.toml
, use-p wasmtime-c-api
for your build scripts to be resilient against these sorts of changes.Thanks for the update, @pchickey! I'm going to update the build procedure according your recommendations.
Last updated: Dec 23 2024 at 12:05 UTC