mirror of https://github.com/vacp2p/nim-libp2p.git
chore: move mm:refc config and remove skipParentCfg (#1190)
- Moving the `mm:refc` configuration to the main `config.nims` file makes it be used in tests and tasks that build examples. - It's not clear why `skipParentCfg`was being used and it doesn't seem to be necessary.
This commit is contained in:
parent
966996542e
commit
21a444197c
|
@ -12,6 +12,9 @@ switch("warning", "LockLevel:off")
|
||||||
switch("warningAsError", "UseBase:on")
|
switch("warningAsError", "UseBase:on")
|
||||||
--styleCheck:
|
--styleCheck:
|
||||||
error
|
error
|
||||||
|
--mm:
|
||||||
|
refc
|
||||||
|
# reconsider when there's a version-2-2 branch worth testing with as we might switch to orc
|
||||||
|
|
||||||
# Avoid some rare stack corruption while using exceptions with a SEH-enabled
|
# Avoid some rare stack corruption while using exceptions with a SEH-enabled
|
||||||
# toolchain: https://github.com/status-im/nimbus-eth2/issues/3121
|
# toolchain: https://github.com/status-im/nimbus-eth2/issues/3121
|
||||||
|
|
|
@ -19,8 +19,8 @@ let verbose = getEnv("V", "") notin ["", "0"]
|
||||||
|
|
||||||
let cfg =
|
let cfg =
|
||||||
" --styleCheck:usages --styleCheck:error" &
|
" --styleCheck:usages --styleCheck:error" &
|
||||||
(if verbose: "" else: " --verbosity:0 --hints:off") &
|
(if verbose: "" else: " --verbosity:0 --hints:off") & " --skipUserCfg -f" &
|
||||||
" --skipParentCfg --skipUserCfg -f" & " --threads:on --opt:speed"
|
" --threads:on --opt:speed"
|
||||||
|
|
||||||
import hashes, strutils
|
import hashes, strutils
|
||||||
|
|
||||||
|
|
|
@ -17,10 +17,6 @@ import strutils, os
|
||||||
libp2p_mplex_metrics
|
libp2p_mplex_metrics
|
||||||
--d:
|
--d:
|
||||||
unittestPrintTime
|
unittestPrintTime
|
||||||
--skipParentCfg
|
|
||||||
--mm:
|
|
||||||
refc
|
|
||||||
# reconsider when there's a version-2-2 branch worth testing with as we might switch to orc
|
|
||||||
|
|
||||||
# Only add chronicles param if the
|
# Only add chronicles param if the
|
||||||
# user didn't specify any
|
# user didn't specify any
|
||||||
|
|
Loading…
Reference in New Issue