Add forward declarations for web stub functions to el_runtime.h #21

Merged
will.anderson merged 2 commits from fix/stage-source-check into dev 2026-05-09 23:07:24 +00:00
Owner

ci-base elb omits forward declarations for functions defined in web_stubs.c (not declared as extern fn in any .el file). On 64-bit Linux, the implicit int return truncates the el_val_t pointer, causing startup segfaults in the compiled binary.

Fix: add all 12 missing declarations (http_get_auth, supabase_, gcs_, cwd, color_bold, http_post/delete_auth) to runtime/el_runtime.h — included by every generated C file, so the compiler sees correct el_val_t return types.

ci-base elb omits forward declarations for functions defined in web_stubs.c (not declared as extern fn in any .el file). On 64-bit Linux, the implicit int return truncates the el_val_t pointer, causing startup segfaults in the compiled binary. Fix: add all 12 missing declarations (http_get_auth, supabase_*, gcs_*, cwd, color_bold, http_post/delete_auth) to runtime/el_runtime.h — included by every generated C file, so the compiler sees correct el_val_t return types.
will.anderson added 1 commit 2026-05-09 23:00:38 +00:00
Add missing forward declarations to el_runtime.h for web stub functions
Dev — Build & local smoke test / build-smoke (pull_request) Failing after 1m55s
839c002ce0
will.anderson added 1 commit 2026-05-09 23:04:30 +00:00
Guard web stub declarations with EL_SOUL_DEMO_BUILD to avoid soul-demo conflict
Dev — Build & local smoke test / build-smoke (pull_request) Successful in 2m22s
a83efcda93
will.anderson merged commit 954dc1d86e into dev 2026-05-09 23:07:24 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: neuron-technologies/neuron-web#21