aboutsummaryrefslogtreecommitdiffstats
path: root/prototypes/workbench/native-fixed.zig
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-09-24 17:14:54 +0100
committereunhhu <[email protected]>2026-09-24 17:14:54 +0100
commitb1ce1927022d374198441afafeb27199fc8a052a (patch)
tree6021f175f4c67ed03b44240eaa2f90d846f12f6f /prototypes/workbench/native-fixed.zig
parentd34f9426d5317a1948f12f229439946728bc342a (diff)
downloadpure-b1ce1927022d374198441afafeb27199fc8a052a.tar.gz
pure-b1ce1927022d374198441afafeb27199fc8a052a.zip
Establish native micro runtime checkpoint
Diffstat (limited to 'prototypes/workbench/native-fixed.zig')
-rw-r--r--prototypes/workbench/native-fixed.zig11
1 files changed, 11 insertions, 0 deletions
diff --git a/prototypes/workbench/native-fixed.zig b/prototypes/workbench/native-fixed.zig
new file mode 100644
index 0000000..8ddd0df
--- /dev/null
+++ b/prototypes/workbench/native-fixed.zig
@@ -0,0 +1,11 @@
+//! Fixed-definition native build root. The profile is generated from a
+//! validated .pure definition; native.zig supplies the unchanged C ABI.
+const profile = @import("profile");
+pub const pure_definition = profile;
+pub const panic = @import("std").debug.no_panic;
+pub const pure_max_states = profile.states;
+pub const pure_max_inputs = profile.inputs;
+pub const pure_max_instructions = profile.instructions;
+pub const pure_max_handlers = profile.handlers;
+pub const pure_max_pointer_targets = profile.pointer_targets;
+comptime { _ = @import("native.zig"); }