From b0f54ab9ad02c826502a05b5571410c91c930a6f Mon Sep 17 00:00:00 2001 From: Dmitriy Ryajov Date: Mon, 12 Feb 2024 14:40:51 -0600 Subject: [PATCH] use `nimOldCaseObjects` switch for nim confutils compat --- config.nims | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config.nims b/config.nims index 222b4d72..45830fad 100644 --- a/config.nims +++ b/config.nims @@ -118,6 +118,9 @@ switch("define", "chronicles_sinks=textlines[dynamic],json[dynamic],textlines[dy switch("define", "use_asm_syntax_intel=false") switch("define", "ctt_asm=false") +# Allow the use of old-style case objects for nim config compatibility +switch("define", "nimOldCaseObjects") + # begin Nimble config (version 1) when system.fileExists("nimble.paths"): include "nimble.paths"