aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/run.zc
diff options
context:
space:
mode:
authorGravatar zinc <zinc@downsta.ir> 2026-10-14 16:24:55 +0330
committerGravatar zinc <zinc@downsta.ir> 2026-10-14 16:24:55 +0330
commit886fa9c0b7ad3c0316e85de1b2c87c54a3681b12 (patch)
treec586a0d5428cbdb019b80f5a92a8ffd80c0d962d /src/runtime/run.zc
parentrt.zdiv: INT_MIN / -1 is INT_MIN and % is 0 in software division too, so zc0 ... (diff)
parentmerge bounds checking (diff)
Merge branch 'main' into work/spec
Diffstat (limited to 'src/runtime/run.zc')
-rw-r--r--src/runtime/run.zc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/runtime/run.zc b/src/runtime/run.zc
index 19a5234..69fc30c 100644
--- a/src/runtime/run.zc
+++ b/src/runtime/run.zc
@@ -1,6 +1,9 @@
namespace run;
include rt;
+// the run-only runtime pokes at headers and raw memory on purpose and runs at full speed: no index bounds checks
+unbounded;
+
// run-only image: the runtime, a collector root set, and start. there is no
// resident compiler and none of its tables. put this between rt.zc and a
// program that defines main. zc0 accepts the bootstrap subset; build.zc uses