From e8ae2dc90ba62466b3aba212df133f7ad564cbab Mon Sep 17 00:00:00 2001 From: ringabout <43030857+ringabout@users.noreply.github.com> Date: Tue, 9 Aug 2022 16:32:29 +0800 Subject: bootstrap the compiler with nimPreviewSlimSystem (#20176) * bootstrap the compiler with nimPreviewSlimSystem * threads --- compiler/packages.nim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'compiler/packages.nim') diff --git a/compiler/packages.nim b/compiler/packages.nim index 6ceeb1ccc..d8b97e374 100644 --- a/compiler/packages.nim +++ b/compiler/packages.nim @@ -16,6 +16,10 @@ import "." / [options, ast, lineinfos, idents, pathutils, msgs] +when defined(nimPreviewSlimSystem): + import std/assertions + + proc getPackage*(conf: ConfigRef; cache: IdentCache; fileIdx: FileIndex): PSym = ## Return a new package symbol. ## -- cgit 1.4.1-2-gfad0