Open
Description
When making a web build for Emscripten, and linking ziglua with the Emscripten system headers, linking fails with an error like:
/Users/ccuddigan/.cache/zig/p/1220f93ada1fa077ab096bf88a5b159ad421dbf6a478edec78ddb186d0c21d3476d9/src/lauxlib.h:246:3: error: unknown type name 'FILE'
FILE *f; /* stream (NULL for incompletely created streams) */
This might be because -DLUA_USE_POSIX
is passed in build.zig for all unknown targets, and the WASM case isn't handled.
Metadata
Metadata
Assignees
Labels
No labels