pref: define nofloat comptime define
parent
04d4431299
commit
c99281709b
|
@ -280,6 +280,7 @@ pub fn parse_args(known_external_commands []string, args []string) (&Preferences
|
||||||
}
|
}
|
||||||
'-nofloat' {
|
'-nofloat' {
|
||||||
res.nofloat = true
|
res.nofloat = true
|
||||||
|
res.compile_defines_all << 'nofloat' // so that `$if nofloat? {` works
|
||||||
}
|
}
|
||||||
'-gc' {
|
'-gc' {
|
||||||
gc_mode := cmdline.option(current_args, '-gc', '')
|
gc_mode := cmdline.option(current_args, '-gc', '')
|
||||||
|
|
Loading…
Reference in New Issue