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
Make proc_exit terminate the Linux process rather than only the calling thread #565
bugA problem that causes incorrect behavior or crashes.help wantedThe issue requires extra attention or help from others.os-specific bugA bug or issue that occurs only on a specific operating system.
std::process::core::proc_exit delegates to the Linux provider's exit, which invokes raw syscall 60 on amd64 and 93 on arm64/riscv64. Those are thread-exit syscalls. In a process containing other native threads, calling proc_exit can leave those threads running instead of terminating the process. LoongArch64 inherits the generic provider.
This is distinct from adding a Wave thread scheduler: Wave code can already be called from a native multithreaded host. The process-level API needs deliberate process-level termination semantics.
Audit status: static source inspection against canonical master ea74c2dafc31da876e5561f2d176ba719f5a0458 on 2026-09-10. No compiler build, test execution, implementation change or local reproduction was performed for this report. The examples describe the source-derived behavior to verify when implementing the fix.
bugA problem that causes incorrect behavior or crashes.help wantedThe issue requires extra attention or help from others.os-specific bugA bug or issue that occurs only on a specific operating system.
Activity
fix: preserve numeric results, file data, and I/O deadlines (wavefnd#631