shithub: MicroHs

Download patch

ref: fecb41187dbd193df9a2879b22a18f7d4954ccbf
parent: 76e8aed8f3cc5210ff974c0be7c145233e36e351
author: Gergo ERDI <gergo@erdi.hu>
date: Sat Jan 13 16:25:32 EST 2024

Gate `-T` CLI flag behind `WANT_TICKS`

--- a/src/runtime/eval.c
+++ b/src/runtime/eval.c
@@ -2804,8 +2804,10 @@
       } else {
         if (strcmp(p, "-v") == 0)
           verbose++;
+#if WANT_TICKS
         else if (strcmp(p, "-T") == 0)
           dump_ticks = 1;
+#endif
         else if (strncmp(p, "-H", 2) == 0)
           heap_size = memsize(&p[2]);
         else if (strncmp(p, "-K", 2) == 0)
--