diff options
-rw-r--r-- | src/runtime/baremetal.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/runtime/baremetal.go b/src/runtime/baremetal.go index 5abd13710..4e81a9cc9 100644 --- a/src/runtime/baremetal.go +++ b/src/runtime/baremetal.go @@ -46,6 +46,11 @@ func libc_free(ptr unsafe.Pointer) { free(ptr) } +//export abort +func libc_abort() { + abort() +} + //go:linkname syscall_Exit syscall.Exit func syscall_Exit(code int) { abort() |