class Savi::Compiler::Options

Defined in:

savi/compiler.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(release : Bool = false, no_debug : Bool = false, print_perf : Bool = false, skip_manifest : Bool = false, manifest_name : Nil | String = nil, target_pass : Symbol | Nil = nil) #

[View source]

Instance Method Detail

def auto_fix : Bool #

[View source]
def auto_fix=(auto_fix : Bool) #

[View source]
def cross_compile : String | Nil #

[View source]
def cross_compile=(cross_compile : String | Nil) #

[View source]
def deps_add : String | Nil #

If set, we will add a dependency with the given name.


[View source]
def deps_add=(deps_add : String | Nil) #

If set, we will add a dependency with the given name.


[View source]
def deps_add_location : String | Nil #

If set, specifies the location that the dependency named in #deps_add should be fetched from when it is time to fetch it. If left unset, then the central savi-lang/library-index GitHub repo will be used to try to look up a known location for that name. If that search fails to find exactly one location, an error will be given prompting the user to specify an explicit location next time.


[View source]
def deps_add_location=(deps_add_location : String | Nil) #

If set, specifies the location that the dependency named in #deps_add should be fetched from when it is time to fetch it. If left unset, then the central savi-lang/library-index GitHub repo will be used to try to look up a known location for that name. If that search fails to find exactly one location, an error will be given prompting the user to specify an explicit location next time.


[View source]
def deps_update : String | Nil #

If set, then we want to update deps if any are out of date. An empty string means we want to update all deps. Otherwise, the specified dependency name will be updated, along with all its dependencies.


[View source]
def deps_update=(deps_update : String | Nil) #

If set, then we want to update deps if any are out of date. An empty string means we want to update all deps. Otherwise, the specified dependency name will be updated, along with all its dependencies.


[View source]
def llvm_ir : Bool #

[View source]
def llvm_ir=(llvm_ir : Bool) #

[View source]
def llvm_keep_fns : Bool #

[View source]
def llvm_keep_fns=(llvm_keep_fns : Bool) #

[View source]
def llvm_optimize_nothing : Bool #

[View source]
def llvm_optimize_nothing=(llvm_optimize_nothing : Bool) #

[View source]
def manifest_name : String | Nil #

[View source]
def manifest_name=(manifest_name : String | Nil) #

[View source]
def no_debug : Bool #

[View source]
def no_debug=(no_debug : Bool) #

[View source]
def print_perf : Bool #

[View source]
def print_perf=(print_perf : Bool) #

[View source]
def release : Bool #

[View source]
def release=(release : Bool) #

[View source]
def runtime_asserts : Bool #

[View source]
def runtime_asserts=(runtime_asserts : Bool) #

[View source]
def skip_manifest : Bool #

[View source]
def skip_manifest=(skip_manifest : Bool) #

[View source]
def target_pass : Symbol | Nil #

[View source]
def target_pass=(target_pass : Symbol | Nil) #

[View source]