Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci/local.sh broken #223

Open
turbolent opened this issue Jun 25, 2024 · 0 comments
Open

ci/local.sh broken #223

turbolent opened this issue Jun 25, 2024 · 0 comments

Comments

@turbolent
Copy link
Contributor

Running ci/local.sh does not work.

$ ./ci/local.sh ../wasmtime
cp: ../wasmtime/crates/c-api/wasm-c-api/include/*.h: No such file or directory

After a run of cargo build and cargo build -p wasmtime-c-api in wasmtime, crates/c-api/wasm-c-api does not exist.

Removing the last line, cp "$wasmtime"/crates/c-api/wasm-c-api/include/*.h build/include of local.sh makes the script succeed.

However, then go test (like suggested in the instructions) fails:

$ go test
# github.com/bytecodealliance/wasmtime-go/v22
# [github.com/bytecodealliance/wasmtime-go/v22]
In file included from ./config.go:4:
In file included from ./build/include/wasmtime.h:182:
./build/include/wasi.h:12:10: fatal error: 'wasmtime/conf.h' file not found
#include <wasmtime/conf.h>
         ^~~~~~~~~~~~~~~~~
1 error generated.
FAIL	github.com/bytecodealliance/wasmtime-go/v22 [build failed]

build/include/wasmtime/conf.h does indeed not exist, though build/include/wasmtime/conf.h.in does

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant