feat(native-el-ui): rewrite checkout/main to use el-html vessel, fix page_close linker error

- checkout.el and main.el: replace raw import of el-html vessel with direct
  extern fn declarations; implementations come from dist/elhtml_impl.c (c_source)
- Add src/elhtml.el as reference file (all el-html extern fn declarations; not imported)
- dist/elhtml_impl.c: pre-compiled el-html vessel C (strips int main + sample global)
- dist/page_close.c: pre-compiled page_close implementation; elc OOMs after emitting
  the ~71KB page_open body and silently drops page_close, so supply it as c_source
- manifest.el: add elhtml_impl.c and page_close.c as c_source entries
- .gitignore: un-ignore dist/elhtml_impl.c and dist/page_close.c
This commit is contained in:
2026-05-08 22:14:38 -05:00
parent 2447310367
commit f2ab12e65b
7 changed files with 909 additions and 328 deletions
+2
View File
@@ -27,5 +27,7 @@ src/assets/js/
!dist/web_stubs.c
!dist/vessel_stubs.c
!dist/soul-demo.c
!dist/page_close.c
!dist/elhtml_impl.c
!dist/entrypoint.sh
!dist/engram-snapshot.json