From bd734b6845342feff426a849240f478020e6ee85 Mon Sep 17 00:00:00 2001 From: Mamy Ratsimbazafy Date: Tue, 21 Aug 2018 14:19:39 +0200 Subject: [PATCH] Don't use stint's nim.cfg during CI to compile koch (#63) * Don't use stint's nim.cfg during CI to compile koch * skip both project and parentcfg? * reorder switches * everything should skip the cfg * Use .nimble switch - nim.cfg causes problem when updating packages * remove the skip compile flags --- nim.cfg | 2 +- stint.nimble | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/nim.cfg b/nim.cfg index 1239cab..801d883 100644 --- a/nim.cfg +++ b/nim.cfg @@ -1 +1 @@ ---experimental:ForLoopMacros +# --experimental:ForLoopMacros # Deactivated for CI - https://github.com/status-im/nimbus/pull/110#issuecomment-414326444 diff --git a/stint.nimble b/stint.nimble index 9dde3e6..61e4ef5 100644 --- a/stint.nimble +++ b/stint.nimble @@ -17,6 +17,7 @@ proc test(name: string, lang: string = "c") = --run --nimcache: "nimcache" switch("out", ("./build/" & name)) + switch("experimental", "ForLoopMacros") setCommand lang, "tests/" & name & ".nim" task test_internal_debug, "Run tests for internal procs - test implementation (StUint[64] = 2x uint32":