Open
Description
withRegion
and withScratchRegion
use try ... finally
which does not work when using --os:standalone
Example
# --gc:regions --os:standalone
withScratchRegion:
discard
Current Output
Error: system module needs: getFrame
Possible Solution
Use when defined(standalone):
to define versions of withRegion
and withScratchRegion
that do not use try ... finally
.
Additional Information
$ nim -v
Nim Compiler Version 1.0.2 [Linux: amd64]