nim.cfg 599 B

12345678910111213141516171819202122232425262728293031323334353637
  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:nimPreviewRangeDefault
  8. threads:off
  9. #import:"$projectpath/testability"
  10. @if windows:
  11. cincludes: "$lib/wrappers/libffi/common"
  12. tlsEmulation:off
  13. @end
  14. define:useStdoutAsStdmsg
  15. @if nimHasStyleChecks:
  16. styleCheck:error
  17. @end
  18. #define:useNodeIds
  19. #gc:markAndSweep
  20. @if nimHasWarningObservableStores:
  21. warning[ObservableStores]: off
  22. @end
  23. @if nimHasEffectsOf:
  24. experimental:strictEffects
  25. warningAsError:Effect:on
  26. @end