diff options
author | ringabout <43030857+ringabout@users.noreply.github.com> | 2022-08-09 16:32:29 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-09 16:32:29 +0800 |
commit | e8ae2dc90ba62466b3aba212df133f7ad564cbab (patch) | |
tree | 902ded8319f73e6df66a0aa4ba875d2ef50e13d3 /compiler/packages.nim | |
parent | cddd4de658fccc9c715cebb6788312f82d5b03a8 (diff) | |
download | Nim-e8ae2dc90ba62466b3aba212df133f7ad564cbab.tar.gz |
bootstrap the compiler with nimPreviewSlimSystem (#20176)
* bootstrap the compiler with nimPreviewSlimSystem * threads
Diffstat (limited to 'compiler/packages.nim')
-rw-r--r-- | compiler/packages.nim | 4 |
1 files changed, 4 insertions, 0 deletions
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. ## |