commit 9eafbda99da209fe668c210387994a88eec9d486
parent 5cf58e537379ad579d8057bd692bfc6f39549e97
Author: Sebastian <sebastian@sebsite.pw>
Date: Sat, 19 Feb 2022 19:13:54 -0500
docs: update runtime.txt
Signed-off-by: Sebastian <sebastian@sebsite.pw>
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/docs/runtime.txt b/docs/runtime.txt
@@ -9,6 +9,9 @@ fn @noreturn rt::abort_fixed(reason: int) void
0: Slice or array access out-of-bounds
1: Type assertion failed
+ 2: Out of memory
+ 3: Static append exceeds slice capacity
+ 4: Unreachable code
fn memcpy(dest: *void, src: *void, n: size) void;
Copy "n" bytes from "src" to "dest". The memory areas shall not