nim.cfg 793 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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:nimPreviewProcConversion
  9. define:nimPreviewRangeDefault
  10. define:nimPreviewNonVarDestructor
  11. threads:off
  12. #import:"$projectpath/testability"
  13. @if windows:
  14. cincludes: "$lib/wrappers/libffi/common"
  15. @end
  16. define:useStdoutAsStdmsg
  17. @if nimHasStyleChecks:
  18. styleCheck:error
  19. @end
  20. #define:useNodeIds
  21. #gc:markAndSweep
  22. @if nimHasWarningObservableStores:
  23. warning[ObservableStores]:off
  24. @end
  25. @if nimHasWarningAsError:
  26. warningAsError[GcUnsafe2]:on
  27. @end
  28. @if nimHasWarnUnnamedBreak:
  29. warningAserror[UnnamedBreak]:on
  30. @end
  31. @if nimHasWarnBareExcept:
  32. warningAserror[BareExcept]:on
  33. @end