From 5b34459d9ecd039c6fd18f975e0b7ac26f16b161 Mon Sep 17 00:00:00 2001 From: Matt Haggard Date: Thu, 4 Sep 2025 12:24:20 -0400 Subject: [PATCH] Use `nim r` rather than `nim c -r` to avoid polluting things with built binaries --- changes/new-Use-nim-r-20250904-122359.md | 1 + src/lin.nim | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 changes/new-Use-nim-r-20250904-122359.md diff --git a/changes/new-Use-nim-r-20250904-122359.md b/changes/new-Use-nim-r-20250904-122359.md new file mode 100644 index 0000000..c1b770e --- /dev/null +++ b/changes/new-Use-nim-r-20250904-122359.md @@ -0,0 +1 @@ +Use `nim r` rather than `nim c -r` to avoid polluting things with built binaries diff --git a/src/lin.nim b/src/lin.nim index 1fabd80..90433d3 100644 --- a/src/lin.nim +++ b/src/lin.nim @@ -22,9 +22,8 @@ when isMainModule: setCurrentDir(dirname) let params = commandLineParams() var args = @[ - "c", + "r", "-d:lin", - "-r", "--debuginfo:off", "--hints:off", "--threads:on",