From e6413f8fe40d3d15f8439376620931d2dfe71ad2 Mon Sep 17 00:00:00 2001 From: ringabout <43030857+ringabout@users.noreply.github.com> Date: Mon, 5 Jan 2026 22:14:36 +0800 Subject: [PATCH] remove duplicated module imports (#25411) (cherry picked from commit a6c7989c7f6f0ae41e36ac60bfd10cae818088ea) --- lib/system/alloc.nim | 1 - lib/system/channels_builtin.nim | 2 -- 2 files changed, 3 deletions(-) diff --git a/lib/system/alloc.nim b/lib/system/alloc.nim index 4109348fc2..8a29b3bf30 100644 --- a/lib/system/alloc.nim +++ b/lib/system/alloc.nim @@ -11,7 +11,6 @@ {.push profiler:off.} include osalloc -import std/private/syslocks template track(op, address, size) = when defined(memTracker): diff --git a/lib/system/channels_builtin.nim b/lib/system/channels_builtin.nim index 1cc9443778..2123707301 100644 --- a/lib/system/channels_builtin.nim +++ b/lib/system/channels_builtin.nim @@ -143,8 +143,6 @@ when not declared(ThisIsSystem): {.error: "You must not import this module explicitly".} -import std/private/syslocks - type pbytes = ptr UncheckedArray[byte] RawChannel {.pure, final.} = object ## msg queue for a thread