Stream: wasmtime

Topic: Build system not copying conf.h into c-api include


view this post on Zulip Steve Williams (Jun 24 2025 at 18:30):

Just built trunk from scratch on Windows using:

cargo build --release -p wasmtime-c-api

wasi.h references missing file :

#include <wasmtime/conf.h>

I have two different conf.h in my tree.

[wasmtime]\target\release\build\wasmtime-c-api-impl-4923843bb23ee544\out\include\wasmtime\conf.h
[wasmtime]\target\release\build\wasmtime-c-api-impl-90644d905f2c4dff\out\include\wasmtime\conf.h

They are both different so unsure which I should copy into :

[wasmtime]\crates\c-api\include\wasmtime

Likely doesnt matter & either would do but FYI.

view this post on Zulip Steve Williams (Jun 24 2025 at 18:34):

there's a conf.h.in present but can't use that directly & probably shouldn't be there.


Last updated: Dec 06 2025 at 06:05 UTC