cli: add safe UTF-8 and supplied-buffer hex/base64 std modules

This commit is contained in:
dev committed 2026-10-06 17:06:39 +03:00
1 parent 6397a317e2
commit 3bb11e03b2
42 files changed
+2807 -14

No files matched your search

@@ -0,0 +1,17 @@
; expect: reject E1001
; phase: 0
; spec: docs/spec/16-standard-library.md §2.5; docs/spec/07a-air-instructions.md
module test.text_payload
air 0
lang 0.1
features []
type @NextResult = enum { ok(u32, usize), end, invalid_input }
fn @main() -> @NextResult
effects []
entry:
%scalar = const.bool true
%count = const.usize 3
%result = enum.make @NextResult.ok(%scalar, %count)
ret %result