From 18e93903c9f76b9d5d217e86cfdcbd2f80582fc6 Mon Sep 17 00:00:00 2001 From: Mamy Ratsimbazafy Date: Mon, 20 Aug 2018 16:13:32 +0200 Subject: [PATCH] Add the new experimental forloopmacros flag for Stint fix #109 (#110) * Add the new experimental forloopmacros flag for Stint * Use a .nimble switch instead of .cfg --- nim.cfg | 1 + nimbus.nimble | 1 + 2 files changed, 2 insertions(+) create mode 100644 nim.cfg diff --git a/nim.cfg b/nim.cfg new file mode 100644 index 000000000..801d883a5 --- /dev/null +++ b/nim.cfg @@ -0,0 +1 @@ +# --experimental:ForLoopMacros # Deactivated for CI - https://github.com/status-im/nimbus/pull/110#issuecomment-414326444 diff --git a/nimbus.nimble b/nimbus.nimble index 9969d163a..e9e64d72f 100644 --- a/nimbus.nimble +++ b/nimbus.nimble @@ -29,6 +29,7 @@ proc test(name: string, lang = "c") = --run --nimcache: "nimcache" switch("out", ("./build/" & name)) + switch("experimental", "ForLoopMacros") setCommand lang, "tests/" & name & ".nim" task test, "Run tests":