mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-14 02:25:49 +00:00
14 lines
253 B
Odin
14 lines
253 B
Odin
#+build essence
|
|
#+private
|
|
package runtime
|
|
|
|
_HAS_RAND_BYTES :: false
|
|
|
|
// TODO(bill): reimplement `os.write`
|
|
_stderr_write :: proc "contextless" (data: []byte) -> (int, _OS_Errno) {
|
|
return 0, -1
|
|
}
|
|
|
|
_exit :: proc "contextless" (code: int) -> ! {
|
|
trap()
|
|
} |