Add forward declarations for web stub functions to el_runtime.h #21
Reference in New Issue
Block a user
Delete Branch "fix/stage-source-check"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.