Skip to content

Commit

Permalink
allow building nim directly from v1.0.4 without slower koch boot
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheecour committed Jan 3, 2020
1 parent 62d2b43 commit a654163
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion compiler/vmops.nim
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@ proc registerAdditionalOps*(c: PCtx) =
wrap1s(fileExists, osop)
wrapDangerous(writeFile, ioop)
wrap1s(readFile, ioop)
wrap2si(staticReadLines, ioop)
when declared(staticReadLines): # to build from v1.0.4
wrap2si(staticReadLines, ioop)
systemop getCurrentExceptionMsg
systemop getCurrentException
registerCallback c, "stdlib.*.staticWalkDir", proc (a: VmArgs) {.nimcall.} =
Expand Down

0 comments on commit a654163

Please sign in to comment.