mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-30 01:44:37 +00:00
* zero initialization union casts * cleans up and adds a test case for #19101 * uses nimZeroMem
46 lines
759 B
Nim
46 lines
759 B
Nim
# Special configuration file for the Nim project
|
|
|
|
hint[XDeclaredButNotUsed]:off
|
|
|
|
define:booting
|
|
define:nimcore
|
|
define:nimPreviewFloatRoundtrip
|
|
define:nimPreviewSlimSystem
|
|
define:nimPreviewCstringConversion
|
|
define:nimPreviewProcConversion
|
|
define:nimPreviewRangeDefault
|
|
threads:off
|
|
|
|
#import:"$projectpath/testability"
|
|
|
|
@if windows:
|
|
cincludes: "$lib/wrappers/libffi/common"
|
|
@end
|
|
|
|
define:useStdoutAsStdmsg
|
|
|
|
@if nimHasStyleChecks:
|
|
styleCheck:error
|
|
@end
|
|
|
|
|
|
#define:useNodeIds
|
|
#gc:markAndSweep
|
|
|
|
@if nimHasWarningObservableStores:
|
|
warning[ObservableStores]:off
|
|
@end
|
|
|
|
|
|
@if nimHasWarningAsError:
|
|
warningAsError[GcUnsafe2]:on
|
|
@end
|
|
|
|
@if nimHasWarnUnnamedBreak:
|
|
warningAserror[UnnamedBreak]:on
|
|
@end
|
|
|
|
@if nimHasWarnBareExcept:
|
|
warningAserror[BareExcept]:on
|
|
@end
|