Commit3b1762abRecorded1 Apr 2026Repositorysigil-web-repl
Use with-sigil-c-flags in web config for proper version string
Message
The web config was using a plain c-flags list, so SIGIL_VERSION was never passed to the C compiler, causing the REPL to show "0.0.0-dev".
Changed
package.sgl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)Diff
package.sglmodified
@@ -31,7 +31,7 @@
31
target: "wasm32-wasi" 32
debug?: #f 33
optimize: 2−34
c-flags: '("-std=c99" "-D_GNU_SOURCE" "-D__SIGIL_WEB__" "-Wall" "-O2")+34
c-flags: (with-sigil-c-flags '("-std=c99" "-D_GNU_SOURCE" "-D__SIGIL_WEB__" "-Wall" "-O2")) 35
link-flags: '("-Wl,--export=sigil_web_init" 36
"-Wl,--export=sigil_web_start" 37
"-Wl,--export=sigil_web_eval"