I am unable to convert any module which has tree sitter dependencies into wasip2.
I get errors
**
(base) celinesantosh@celines-Air-2 monitortest % tinygo build -target=wasip2 -o monitortest.wasm --wit-package ./wit --wit-world monitorworld ./src
../../../../go/pkg/mod/github.com/smacker/go-tree-sitter@v0.0.0-20231219031718-233c2f923ac7/api.h:8:10: fatal: 'stdio.h' file not found
../../../../go/pkg/mod/github.com/smacker/go-tree-sitter@v0.0.0-20231219031718-233c2f923ac7/api.h:38:16: struct_TSLanguage defined previously at /Users/celinesantosh/go/pkg/mod/github.com/smacker/go-tree-sitter@v0.0.0-20231219031718-233c2f923ac7/test_grammar.go:92:10 with a different type
../../../../go/pkg/mod/github.com/smacker/go-tree-sitter@v0.0.0-20231219031718-233c2f923ac7/bindings.go: note: in file included from bindings.go!cgo.c:2:
../../../../go/pkg/mod/github.com/smacker/go-tree-sitter@v0.0.0-20231219031718-233c2f923ac7/bindings.h:4:10: note: in file included from /Users/celinesantosh/go/pkg/mod/github.com/smacker/go-tree-sitter@v0.0.0-20231219031718-233c2f923ac7/bindings.h:4:
../../../../go/pkg/mod/github.com/smacker/go-tree-sitter@v0.0.0-20231219031718-233c2f923ac7/test_grammar.go:12:12: fatal: 'stdlib.h' file not found
**
Last updated: Dec 06 2025 at 05:03 UTC