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

The 22.0.0 build doesn't generate wasmtime/conf.h #8966

Closed
osokin opened this issue Jul 16, 2024 · 4 comments
Closed

The 22.0.0 build doesn't generate wasmtime/conf.h #8966

osokin opened this issue Jul 16, 2024 · 4 comments

Comments

@osokin
Copy link

osokin commented Jul 16, 2024

Hi,

I was using wasmtime-c-api cargo build target to build Wasmtime C API for previous releases.

For 22.0.0 that behavior is changed with the 566669e commit.

Could you guide me what's right approach to generate Wasmtime C API and wasmtime/conf.h file.

Thank you.

@clason
Copy link

clason commented Jul 17, 2024

Duplicate of #8890 (TL;DR: use cmake to build wasmtime-c-api.)

@alexcrichton
Copy link
Member

Indeed this is a duplicate of #8890, so I'm going to close this in favor of that.

@osokin are you able to use CMake to build the C API? And/or use the release artifacts from this repository?

@osokin
Copy link
Author

osokin commented Jul 17, 2024

@alexcrichton Well, using cmake adds complexity to the devel/libwasmtime port in FreeBSD ports tree, takes some time for the update.

@alexcrichton
Copy link
Member

If you'd like most of us in this repo are not all that familiar with CMake so if you know of ways to improve things PRs would definitely be welcome. For example running cargo fetch during the cmake configuration phase I think would make sense and might fix the issue you brought up

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

3 participants