add more APIs to compiler/debugutils; re-export it (#18243)
This commit is contained in:
parent
a250481dcd
commit
87cd9b24a3
4 changed files with 85 additions and 0 deletions
|
|
@ -472,7 +472,10 @@ const foreignPackageNotesDefault* = {
|
|||
proc isDefined*(conf: ConfigRef; symbol: string): bool
|
||||
|
||||
when defined(nimDebugUtils):
|
||||
# this allows inserting debugging utilties in all modules that import `options`
|
||||
# with a single switch, which is useful when debugging compiler.
|
||||
import debugutils
|
||||
export debugutils
|
||||
|
||||
proc initConfigRefCommon(conf: ConfigRef) =
|
||||
conf.selectedGC = gcRefc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue