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
This commit is contained in:
Mamy Ratsimbazafy 2018-08-20 16:13:32 +02:00 committed by GitHub
parent c9de0fbd29
commit 18e93903c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

1
nim.cfg Normal file
View File

@ -0,0 +1 @@
# --experimental:ForLoopMacros # Deactivated for CI - https://github.com/status-im/nimbus/pull/110#issuecomment-414326444

View File

@ -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":