Skip to content

Commit

Permalink
timStandalone to when isMainModule
Browse files Browse the repository at this point in the history
Signed-off-by: George Lemon <[email protected]>
  • Loading branch information
georgelemon committed May 14, 2024
1 parent 381307d commit 354c2f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tim.nims
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ when defined napibuild:
--passC:"-I/usr/include/node -I/usr/local/include/node"

when isMainModule:
--define:timStandalone
when defined release:
--opt:speed
--define:useMalloc
Expand Down

0 comments on commit 354c2f9

Please sign in to comment.