Skip to content

Commit d032a89

Browse files
committed
Remove legacy __sys_exit syscall. NFC
This was replaced by the WASI `proc_exit` syscall a while back.
1 parent 9ea47e0 commit d032a89

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/library_syscall.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -305,10 +305,6 @@ var SyscallsLibrary = {
305305
return 0;
306306
},
307307

308-
__sys_exit: function(status) {
309-
exit(status);
310-
// no return
311-
},
312308
__sys_open: function(path, flags, varargs) {
313309
var pathname = SYSCALLS.getStr(path);
314310
var mode = varargs ? SYSCALLS.get() : 0;
@@ -1214,13 +1210,6 @@ var SyscallsLibrary = {
12141210
#endif // SYSCALLS_REQUIRE_FILESYSTEM
12151211
},
12161212

1217-
#if MINIMAL_RUNTIME
1218-
__sys_exit_group__deps: ['$exit'],
1219-
#endif
1220-
__sys_exit_group: function(status) {
1221-
exit(status);
1222-
return 0;
1223-
},
12241213
__sys_statfs64: function(path, size, buf) {
12251214
path = SYSCALLS.getStr(path);
12261215
#if ASSERTIONS

0 commit comments

Comments
 (0)