diff options
Diffstat (limited to 'src/rt/rust_kernel.cpp')
| -rw-r--r-- | src/rt/rust_kernel.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/rt/rust_kernel.cpp b/src/rt/rust_kernel.cpp index 9899939da02..54b1cc98d43 100644 --- a/src/rt/rust_kernel.cpp +++ b/src/rt/rust_kernel.cpp @@ -140,7 +140,7 @@ rust_kernel::fail() { // Runtime to terminate it in an unusual way" when trying to shutdown // cleanly. #if defined(__WIN32__) - exit(-1); + exit(1); #endif for(size_t i = 0; i < num_threads; ++i) { rust_scheduler *thread = threads[i]; | 
