Skip to content

Commit 00cef70

Browse files
committed
ci: fix -prod compilation of sokol apps
1 parent 60f4654 commit 00cef70

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

vlib/sokol/memory/memory.v

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,7 @@ pub fn slog(const_message &char, user_data voidptr) {
3636
C.fprintf(C.stderr, c'sokol.memory.slog | user_data: %p, message: %s\n', user_data,
3737
const_message)
3838
}
39-
C.SOKOL_LOG(const_message)
39+
$if !prod {
40+
C.SOKOL_LOG(const_message)
41+
}
4042
}

0 commit comments

Comments
 (0)