From 5602183234f59ece4fd668915da848f0753cbbb9 Mon Sep 17 00:00:00 2001 From: ringabout <43030857+ringabout@users.noreply.github.com> Date: Tue, 11 Oct 2022 15:17:09 +0800 Subject: 'lock levels' are deprecated, now a noop (#20539) * 'lock levels' are deprecated, now a noop * fixes tests --- lib/system/inclrtl.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/system/inclrtl.nim') diff --git a/lib/system/inclrtl.nim b/lib/system/inclrtl.nim index ca41f39c6..42c85ad26 100644 --- a/lib/system/inclrtl.nim +++ b/lib/system/inclrtl.nim @@ -45,7 +45,7 @@ else: {.pragma: inl, inline.} {.pragma: compilerRtl, compilerproc.} -{.pragma: benign, gcsafe, locks: 0.} +{.pragma: benign, gcsafe.} when defined(nimHasSinkInference): {.push sinkInference: on.} -- cgit 1.4.1-2-gfad0