nim.cfg 681 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # Special configuration file for the Nim project
  2. hint[XDeclaredButNotUsed]:off
  3. define:booting
  4. define:nimcore
  5. define:nimPreviewFloatRoundtrip
  6. define:nimPreviewSlimSystem
  7. define:nimPreviewCstringConversion
  8. define:nimPreviewRangeDefault
  9. threads:off
  10. #import:"$projectpath/testability"
  11. @if windows:
  12. cincludes: "$lib/wrappers/libffi/common"
  13. tlsEmulation:off
  14. @end
  15. define:useStdoutAsStdmsg
  16. @if nimHasStyleChecks:
  17. styleCheck:error
  18. @end
  19. #define:useNodeIds
  20. #gc:markAndSweep
  21. @if nimHasWarningObservableStores:
  22. warning[ObservableStores]:off
  23. @end
  24. @if nimHasWarningAsError:
  25. warningAsError[GcUnsafe2]:on
  26. @end
  27. @if nimHasWarnUnnamedBreak:
  28. warningAserror[UnnamedBreak]:on
  29. @end