From e072997e971644a7bf74f6c1e19251e40002830b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C8=98tefan=20Talpalaru?= Date: Wed, 3 Jun 2020 14:49:32 +0200 Subject: [PATCH] Nim-1.2.2 --- azure-pipelines.yml | 2 +- config.nims | 7 +++++++ vendor/nimbus-build-system | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b809912c2..47228b5fe 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -16,7 +16,7 @@ jobs: - task: CacheBeta@1 displayName: 'cache Nim binaries' inputs: - key: NimBinaries | $(Agent.OS) | $(PLATFORM) | "$(Build.SourceBranchName)" | "v4" + key: NimBinaries | $(Agent.OS) | $(PLATFORM) | "$(Build.SourceBranchName)" | "v7" path: NimBinaries - task: CacheBeta@1 diff --git a/config.nims b/config.nims index f17c89a99..944142ccc 100644 --- a/config.nims +++ b/config.nims @@ -65,3 +65,10 @@ if not defined(macosx): # `switch("warning[CaseTransition]", "off")` fails with "Error: invalid command line option: '--warning[CaseTransition]'" switch("warning", "CaseTransition:off") +# The compiler doth protest too much, methinks, about all these cases where it can't +# do its (N)RVO pass: https://github.com/nim-lang/RFCs/issues/230 +switch("warning", "ObservableStores:off") + +# Too many false positives for "Warning: method has lock level , but another method has 0 [LockLevel]" +switch("warning", "LockLevel:off") + diff --git a/vendor/nimbus-build-system b/vendor/nimbus-build-system index 46b6f7880..ae49e03af 160000 --- a/vendor/nimbus-build-system +++ b/vendor/nimbus-build-system @@ -1 +1 @@ -Subproject commit 46b6f78806026b37e4710eabf8bd047969d2d23c +Subproject commit ae49e03af6f36393eb7e0fc02c1c47df42efd2de