diff options
-rw-r--r-- | .github/workflows/ci_docs.yml | 2 | ||||
-rw-r--r-- | compiler/nim.cfg | 1 | ||||
-rw-r--r-- | koch.nim | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/ci_docs.yml b/.github/workflows/ci_docs.yml index c0874dd06..6228c48c8 100644 --- a/.github/workflows/ci_docs.yml +++ b/.github/workflows/ci_docs.yml @@ -100,7 +100,7 @@ jobs: - name: 'Build the real compiler' shell: bash - run: ./koch boot -d:release --gc:refc + run: ./koch boot -d:release - name: 'Build documentation' shell: bash diff --git a/compiler/nim.cfg b/compiler/nim.cfg index 853a657b3..5e8471f70 100644 --- a/compiler/nim.cfg +++ b/compiler/nim.cfg @@ -6,6 +6,7 @@ define:booting define:nimcore define:nimPreviewFloatRoundtrip define:nimPreviewSlimSystem +gc:refc #import:"$projectpath/testability" diff --git a/koch.nim b/koch.nim index d765ebb28..2564456c9 100644 --- a/koch.nim +++ b/koch.nim @@ -548,7 +548,7 @@ proc runCI(cmd: string) = # boot without -d:nimHasLibFFI to make sure this still works # `--lib:lib` is needed for bootstrap on openbsd, for reasons described in # https://github.com/nim-lang/Nim/pull/14291 (`getAppFilename` bugsfor older nim on openbsd). - kochExecFold("Boot in release mode", "boot -d:release --gc:refc -d:nimStrictMode --lib:lib") + kochExecFold("Boot in release mode", "boot -d:release -d:nimStrictMode --lib:lib") when false: # debugging: when you need to run only 1 test in CI, use something like this: execFold("debugging test", "nim r tests/stdlib/tosproc.nim") |