nim.cfg: now up to date with the Nimbus one

This commit is contained in:
Ștefan Talpalaru 2019-08-24 22:07:04 +02:00
parent c91727e7e5
commit 5983e83c40
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9
1 changed files with 12 additions and 4 deletions

16
nim.cfg
View File

@ -1,12 +1,20 @@
--threads:on
--opt:speed
# -d:"chronicles_sinks=json"
@if release:
nimcache = "nimcache/release/$projectName"
@else:
nimcache = "nimcache/debug/$projectName"
@end
@if windows:
# disable timestamps in Windows PE headers - https://wiki.debian.org/ReproducibleBuilds/TimestampsInPEBinaries
--passL:"-Wl,--no-insert-timestamp"
# increase stack size
--passL:"-Wl,--stack,8388608"
# https://github.com/nim-lang/Nim/issues/4057
--tlsEmulation:off
@end
--threads:on
--opt:speed
--excessiveStackTrace:on
-d:metrics # enable metric collection