fixes #12491 [backport]
This commit is contained in:
parent
f827d75804
commit
8a599fb571
1 changed files with 5 additions and 1 deletions
|
|
@ -152,7 +152,11 @@ proc registerAdditionalOps*(c: PCtx) =
|
||||||
systemop getCurrentException
|
systemop getCurrentException
|
||||||
registerCallback c, "stdlib.*.staticWalkDir", proc (a: VmArgs) {.nimcall.} =
|
registerCallback c, "stdlib.*.staticWalkDir", proc (a: VmArgs) {.nimcall.} =
|
||||||
setResult(a, staticWalkDirImpl(getString(a, 0), getBool(a, 1)))
|
setResult(a, staticWalkDirImpl(getString(a, 0), getBool(a, 1)))
|
||||||
systemop gorgeEx
|
|
||||||
|
if defined(nimsuggest) or c.config.cmd == cmdCheck:
|
||||||
|
discard "don't run staticExec for 'nim suggest'"
|
||||||
|
else:
|
||||||
|
systemop gorgeEx
|
||||||
macrosop getProjectPath
|
macrosop getProjectPath
|
||||||
|
|
||||||
registerCallback c, "stdlib.os.getCurrentCompilerExe", proc (a: VmArgs) {.nimcall.} =
|
registerCallback c, "stdlib.os.getCurrentCompilerExe", proc (a: VmArgs) {.nimcall.} =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue