diff options
Diffstat (limited to 'src/rt/rust.cpp')
| -rw-r--r-- | src/rt/rust.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/rt/rust.cpp b/src/rt/rust.cpp index 6d9243b8558..122c7b306bf 100644 --- a/src/rt/rust.cpp +++ b/src/rt/rust.cpp @@ -109,12 +109,6 @@ rust_start(uintptr_t main_fn, int argc, char **argv, free_env(env); -#if !defined(__WIN32__) - // Don't take down the process if the main thread exits without an - // error. - if (!ret) - pthread_exit(NULL); -#endif return ret; } |
