cli: add safe UTF-8 and supplied-buffer hex/base64 std modules
This commit is contained in:
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
|
||||
Reference in new issue
Block a user