From d55b5fdf92a674a6495878f97a09e95bafdcba3f Mon Sep 17 00:00:00 2001 From: zinc Date: Wed, 14 Oct 2026 15:58:58 +0330 Subject: bounds checking: port agent/bounds-checking onto main 0879d0a; unbounded main in o3call, o3 tests expect no check, boundsrules, bounds_fixed, bounds_heap and zc0unbounded tests --- src/runtime/run.zc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/runtime/run.zc') 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 -- cgit v1.2.3