nim.cfg 800 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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 nimHasWarnCastSizes:
  25. warning[CastSizes]:on
  26. @end
  27. @if nimHasWarningAsError:
  28. warningAsError[GcUnsafe2]:on
  29. @end
  30. @if nimHasWarnUnnamedBreak:
  31. warningAserror[UnnamedBreak]:on
  32. @end
  33. @if nimHasWarnBareExcept:
  34. warningAserror[BareExcept]:on
  35. @end