2019-11-15 00:04:40 +01:00
|
|
|
module builtin
|
|
|
|
|
2019-11-15 01:17:47 +01: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-15 00:04:40 +01:00
|
|
|
|
|
|
|
pub fn panic(s string) {
|
2019-11-15 01:17:47 +01:00
|
|
|
//write(1, s.str, s.len)
|
2019-11-15 00:04:40 +01:00
|
|
|
}
|
|
|
|
|
2019-11-16 09:33:04 +01:00
|
|
|
pub fn panic_debug(s string) {
|
|
|
|
//write(1, s.str, s.len)
|
|
|
|
}
|
|
|
|
|