summary refs log blame commit diff stats
path: root/compiler/nim.cfg
blob: 4a0287cb5b1666e518abb8f6866613eef063bd5f (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                
 
                             
 
              
              
                               
 
                                  
 


                                          
 

                        


                      
 
 
                  
                

                                  
                                
    




                            
# Special configuration file for the Nim project

hint[XDeclaredButNotUsed]:off

define:booting
define:nimcore
define:nimPreviewFloatRoundtrip

#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 nimHasEffectsOf:
  experimental:strictEffects
  warningAsError:Effect:on
@end