From 51008cd7e17d7e30b43107140781a72f10a58830 Mon Sep 17 00:00:00 2001 From: Robby Zambito Date: Tue, 18 Nov 2025 13:49:39 -0500 Subject: --- src/root.zig | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) (limited to 'src/root.zig') diff --git a/src/root.zig b/src/root.zig index 94c7cd0..12ebb2b 100644 --- a/src/root.zig +++ b/src/root.zig @@ -1,23 +1 @@ -//! By convention, root.zig is the root source file when making a library. -const std = @import("std"); - -pub fn bufferedPrint() !void { - // Stdout is for the actual output of your application, for example if you - // are implementing gzip, then only the compressed bytes should be sent to - // stdout, not any debugging messages. - var stdout_buffer: [1024]u8 = undefined; - var stdout_writer = std.fs.File.stdout().writer(&stdout_buffer); - const stdout = &stdout_writer.interface; - - try stdout.print("Run `zig build test` to run the tests.\n", .{}); - - try stdout.flush(); // Don't forget to flush! -} - -pub fn add(a: i32, b: i32) i32 { - return a + b; -} - -test "basic add functionality" { - try std.testing.expect(add(3, 7) == 10); -} +pub const MessageParser = @import("server/message_parser.zig"); -- cgit