Browse Source

Keep -vet happy when mem tracking is disabled.

Jeroen van Rijn 1 năm trước cách đây
mục cha
commit
a05b73c632
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      core/testing/testing.odin

+ 1 - 0
core/testing/testing.odin

@@ -10,6 +10,7 @@ import "core:time"
 import "core:mem"
 
 _ :: reflect // alias reflect to nothing to force visibility for -vet
+_ :: mem     // in case TRACKING_MEMORY is not enabled
 
 // IMPORTANT NOTE: Compiler requires this layout
 Test_Signature :: proc(^T)