From 0d9666989fb8cceefa8f31425100a71d5105c7a2 Mon Sep 17 00:00:00 2001 From: Diego Date: Sun, 8 Sep 2024 16:07:59 +0200 Subject: [PATCH 1/2] move refc configuration to main config file --- config.nims | 3 +++ tests/config.nims | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config.nims b/config.nims index 0414dfc755..51ae23a843 100644 --- a/config.nims +++ b/config.nims @@ -12,6 +12,9 @@ switch("warning", "LockLevel:off") switch("warningAsError", "UseBase:on") --styleCheck: 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 # toolchain: https://github.com/status-im/nimbus-eth2/issues/3121 diff --git a/tests/config.nims b/tests/config.nims index 25930fa274..34385ea62a 100644 --- a/tests/config.nims +++ b/tests/config.nims @@ -18,9 +18,6 @@ import strutils, os --d: 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 # user didn't specify any From 80ee1e04f02263b03b0408f02107c1ea29b253ec Mon Sep 17 00:00:00 2001 From: Diego Date: Sun, 8 Sep 2024 16:08:39 +0200 Subject: [PATCH 2/2] remove skipParentCfg --- libp2p.nimble | 4 ++-- tests/config.nims | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/libp2p.nimble b/libp2p.nimble index 08052e6ce1..ad05d0ee55 100644 --- a/libp2p.nimble +++ b/libp2p.nimble @@ -19,8 +19,8 @@ let verbose = getEnv("V", "") notin ["", "0"] let cfg = " --styleCheck:usages --styleCheck:error" & - (if verbose: "" else: " --verbosity:0 --hints:off") & - " --skipParentCfg --skipUserCfg -f" & " --threads:on --opt:speed" + (if verbose: "" else: " --verbosity:0 --hints:off") & " --skipUserCfg -f" & + " --threads:on --opt:speed" import hashes, strutils diff --git a/tests/config.nims b/tests/config.nims index 34385ea62a..6f1a239944 100644 --- a/tests/config.nims +++ b/tests/config.nims @@ -17,7 +17,6 @@ import strutils, os libp2p_mplex_metrics --d: unittestPrintTime ---skipParentCfg # Only add chronicles param if the # user didn't specify any