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

+3
View File
@@ -28,7 +28,10 @@ pub fn build(b: *std.Build) void {
.root_source_file = b.path("docs/reference/intrinsics.md"),
});
mod.addAnonymousImport("std_bytes_aji", .{ .root_source_file = b.path("std/bytes.aji") });
mod.addAnonymousImport("std_encoding_base64_aji", .{ .root_source_file = b.path("std/encoding/base64.aji") });
mod.addAnonymousImport("std_encoding_hex_aji", .{ .root_source_file = b.path("std/encoding/hex.aji") });
mod.addAnonymousImport("std_math_aji", .{ .root_source_file = b.path("std/math.aji") });
mod.addAnonymousImport("std_utf8_aji", .{ .root_source_file = b.path("std/utf8.aji") });
// CLI: `aji`.
const exe = b.addExecutable(.{