Return an error code after fail under win32
This commit is contained in:
parent
db72bd90f5
commit
a0208e3899
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue