You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
wasi-libc: __stack_chk_fail.c is linked even when stack protector is disabled #15005
contributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.enhancementSolving this issue will likely involve adding new logic or components to the codebase.os-wasiWebAssembly System Interface
That constructor depends on wasi_snapshot_preview1::random_get being imported. And that becomes an issue in the context of the preview1->preview2 transition state.
wasm-tools refuses to transform a module created by Zig into a component due to this.
Expected Behavior
Don't link __stack_chk_fail.c if the stack protector is disabled.
contributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.enhancementSolving this issue will likely involve adding new logic or components to the codebase.os-wasiWebAssembly System Interface
Activity
alexrp commentedon Oct 4, 2026
https://codeberg.org/ziglang/zig/pulls/36633
remove support for wasi-libc
remove support for wasi-libc
remove support for wasi-libc