mirror of
https://github.com/roc-lang/roc.git
synced 2025-12-23 08:48:03 +00:00
Delete some debug logging
This commit is contained in:
parent
b6331133ec
commit
592f9b6f98
1 changed files with 0 additions and 15 deletions
|
|
@ -139,13 +139,6 @@ pub fn main() !void {
|
|||
.result_type = result_type_idx,
|
||||
};
|
||||
try serializeBuiltinIndices(builtin_indices, "zig-out/builtins/builtin_indices.bin");
|
||||
|
||||
// // Print info for debugging
|
||||
// const stdout = std.io.getStdOut().writer();
|
||||
// try stdout.print("Builtin indices generated:\n", .{});
|
||||
// try stdout.print(" Bool type: {}\n", .{bool_type_idx});
|
||||
// try stdout.print(" Result type: {}\n", .{result_type_idx});
|
||||
// try stdout.print("Native (64-bit) @sizeOf(ModuleEnv.Serialized) = {}\n", .{@sizeOf(ModuleEnv.Serialized)});
|
||||
}
|
||||
|
||||
const ModuleDep = struct {
|
||||
|
|
@ -290,14 +283,6 @@ fn serializeModuleEnv(
|
|||
const file = try std.fs.cwd().createFile(output_path, .{ .read = true });
|
||||
defer file.close();
|
||||
|
||||
// Log the actual values BEFORE serialization
|
||||
// const stdout = std.io.getStdOut().writer();
|
||||
// try stdout.print("Serializing {s}: all_statements.span.start={}, .len={}\n", .{
|
||||
// output_path,
|
||||
// env.all_statements.span.start,
|
||||
// env.all_statements.span.len,
|
||||
// });
|
||||
|
||||
// Serialize using CompactWriter
|
||||
var writer = collections.CompactWriter.init();
|
||||
defer writer.deinit(arena_alloc);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue