Make ./koch temp --gc:arc work (#14186)
This commit is contained in:
parent
9c33bcac5c
commit
1f1e4de3bc
8 changed files with 26 additions and 11 deletions
|
|
@ -51,7 +51,10 @@ proc generateDot*(graph: ModuleGraph; project: AbsoluteFile) =
|
|||
rope(project.splitFile.name), b.dotGraph],
|
||||
changeFileExt(project, "dot"))
|
||||
|
||||
proc myOpen(graph: ModuleGraph; module: PSym): PPassContext =
|
||||
when not defined(nimHasSinkInference):
|
||||
{.pragma: nosinks.}
|
||||
|
||||
proc myOpen(graph: ModuleGraph; module: PSym): PPassContext {.nosinks.} =
|
||||
var g: PGen
|
||||
new(g)
|
||||
g.module = module
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue