mirror of
https://github.com/fluencelabs/wasmer
synced 2025-04-25 02:12:13 +00:00
Fixed capi
This commit is contained in:
parent
2569d3b40c
commit
7a120f48d7
11
Makefile
11
Makefile
@ -77,8 +77,13 @@ llvm: spectests-llvm emtests-llvm middleware-llvm wasitests-llvm
|
||||
|
||||
|
||||
# All tests
|
||||
test-rest:
|
||||
cargo test --release --all --exclude wasmer-emscripten --exclude wasmer-spectests --exclude wasmer-wasi --exclude wasmer-middleware-common --exclude wasmer-singlepass-backend --exclude wasmer-clif-backend --exclude wasmer-llvm-backend
|
||||
capi:
|
||||
cargo build --release
|
||||
cargo build -p wasmer-runtime-c-api --release
|
||||
cargo test -p wasmer-runtime-c-api --release
|
||||
|
||||
test-rest: capi
|
||||
cargo test --release --all --exclude wasmer-runtime-c-api --exclude wasmer-emscripten --exclude wasmer-spectests --exclude wasmer-wasi --exclude wasmer-middleware-common --exclude wasmer-singlepass-backend --exclude wasmer-clif-backend --exclude wasmer-llvm-backend
|
||||
|
||||
circleci-clean:
|
||||
@if [ ! -z "${CIRCLE_JOB}" ]; then rm -f /home/circleci/project/target/debug/deps/libcranelift_wasm* && rm -f /Users/distiller/project/target/debug/deps/libcranelift_wasm*; fi;
|
||||
@ -104,7 +109,7 @@ build:
|
||||
cargo build --release --features debug
|
||||
|
||||
install:
|
||||
cargo install --release --path .
|
||||
cargo install --path .
|
||||
|
||||
release:
|
||||
cargo build --release --features backend:singlepass,backend:llvm,loader:kernel
|
||||
|
@ -196,6 +196,7 @@ Each integration can be tested separately:
|
||||
* Emscripten: `make emtests`
|
||||
* WASI: `make wasi`
|
||||
* Middleware: `make middleware`
|
||||
* C API: `make capi`
|
||||
|
||||
|
||||
## Benchmarking
|
||||
|
@ -17,7 +17,7 @@ add_executable(test-validate test-validate.c)
|
||||
|
||||
find_library(
|
||||
WASMER_LIB NAMES libwasmer_runtime_c_api.dylib libwasmer_runtime_c_api.so libwasmer_runtime_c_api.dll
|
||||
PATHS ${CMAKE_SOURCE_DIR}/../../../target/debug/
|
||||
PATHS ${CMAKE_SOURCE_DIR}/../../../target/release/
|
||||
)
|
||||
|
||||
if(NOT WASMER_LIB)
|
||||
|
Loading…
x
Reference in New Issue
Block a user