@ai-ecoverse/wasm-emscripten 6.0.9-7 → 6.0.9-8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/package.json +1 -1
- package/tools/link.py +3 -0
package/README.md
CHANGED
|
@@ -19,7 +19,8 @@ pointing at this package's config.
|
|
|
19
19
|
## Default link (wasm realm)
|
|
20
20
|
|
|
21
21
|
Executable links (not `-c` / `-r` / `-shared`) inject `homescoop_em_cli_ldflags`
|
|
22
|
-
(`-sENVIRONMENT=web,worker,node -sEXIT_RUNTIME=1 -sALLOW_MEMORY_GROWTH=1
|
|
22
|
+
(`-sENVIRONMENT=web,worker,node -sEXIT_RUNTIME=1 -sALLOW_MEMORY_GROWTH=1
|
|
23
|
+
-sFORCE_FILESYSTEM=1`) and
|
|
23
24
|
`lib/slicc/{slicc_spawn,slicc_exec,slicc_signals,slicc_select,slicc_libc_gaps,slicc_jobs}.o`.
|
|
24
25
|
Opt out with **`SLICC_EMCC_PLAIN=1`** for plain web glue.
|
|
25
26
|
`lib/slicc/slicc_main_envp.o` (make: `-Dmain=slicc_tool_main`) and
|
package/package.json
CHANGED
package/tools/link.py
CHANGED
|
@@ -864,6 +864,9 @@ def phase_linker_setup(linker_args): # ruff: ignore[complex-structure, too-many
|
|
|
864
864
|
default_setting('ENVIRONMENT', ['web', 'worker', 'node'])
|
|
865
865
|
default_setting('EXIT_RUNTIME', 1)
|
|
866
866
|
default_setting('ALLOW_MEMORY_GROWTH', 1)
|
|
867
|
+
# Full FS so SLICC can mount into FS.filesystems (printf-only programs
|
|
868
|
+
# otherwise get the minimal FS stub without filesystems).
|
|
869
|
+
default_setting('FORCE_FILESYSTEM', 1)
|
|
867
870
|
slicc_lib = os.environ.get('SLICC_EM_LIBDIR') or utils.path_from_root('lib', 'slicc')
|
|
868
871
|
# cli profile (not main_envp — that renames main→slicc_tool_main for make).
|
|
869
872
|
# slicc_main_envp.o / slicc_fork.o are shipped under lib/slicc/ for opt-in.
|