2019-11-14 23:04:40 +00:00
|
|
|
module builtin
|
|
|
|
|
2019-11-15 00:17:47 +00:00
|
|
|
//pub fn syscall5(number, arg1, arg2, arg3, arg4, arg5 voidptr) voidptr
|
|
|
|
//pub fn syscall6(number, arg1, arg2, arg3, arg4, arg5, arg6 voidptr) voidptr
|
2019-11-14 23:04:40 +00:00
|
|
|
|
|
|
|
pub fn panic(s string) {
|
2019-11-15 00:17:47 +00:00
|
|
|
//write(1, s.str, s.len)
|
2019-11-14 23:04:40 +00:00
|
|
|
}
|
|
|
|
|
2019-11-16 08:33:04 +00:00
|
|
|
pub fn panic_debug(s string) {
|
|
|
|
//write(1, s.str, s.len)
|
|
|
|
}
|
|
|
|
|