mirror of
https://github.com/roc-lang/roc.git
synced 2025-12-09 02:54:49 +00:00
Clean up some debug logging
This commit is contained in:
parent
8eeb3abc03
commit
4587c8e028
2 changed files with 1 additions and 3 deletions
|
|
@ -288,7 +288,7 @@ pub const Store = struct {
|
|||
// We deserialize by overwriting the Serialized memory with the runtime struct.
|
||||
const store = @as(*Store, @ptrFromInt(@intFromPtr(self)));
|
||||
|
||||
// DEBUG: Check struct sizes - if Store > Serialized, we'd write past the end!
|
||||
// Check struct sizes - if Store > Serialized, we'd write past the end!
|
||||
comptime {
|
||||
const store_size = @sizeOf(Store);
|
||||
const serialized_size = @sizeOf(Serialized);
|
||||
|
|
|
|||
|
|
@ -1181,7 +1181,6 @@ test "comptime eval - U8 valid max value" {
|
|||
defer cleanupEvalModule(&result);
|
||||
|
||||
_ = try result.evaluator.evalAll();
|
||||
// Debug: print any problems
|
||||
if (result.problems.len() > 0) {
|
||||
std.debug.print("\nU8 valid max problems ({d}):\n", .{result.problems.len()});
|
||||
for (result.problems.problems.items) |problem| {
|
||||
|
|
@ -1683,7 +1682,6 @@ test "comptime eval - F32 valid" {
|
|||
defer cleanupEvalModule(&result);
|
||||
|
||||
_ = try result.evaluator.evalAll();
|
||||
// Debug: print any problems
|
||||
if (result.problems.len() > 0) {
|
||||
std.debug.print("\nF32 problems ({d}):\n", .{result.problems.len()});
|
||||
for (result.problems.problems.items) |problem| {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue