mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cc: experimental -fast option for tcc/codegen in the future
This commit is contained in:
@ -114,6 +114,7 @@ pub mut:
|
||||
// work on the builtin module itself.
|
||||
//generating_vh bool
|
||||
comptime_define string // -D vfmt for `if $vfmt {`
|
||||
fast bool // use tcc/x64 codegen
|
||||
}
|
||||
|
||||
// Should be called by main at the end of the compilation process, to cleanup
|
||||
@ -930,6 +931,7 @@ pub fn new_v(args[]string) &V {
|
||||
is_run: 'run' in args
|
||||
autofree: '-autofree' in args
|
||||
compress: '-compress' in args
|
||||
fast: '-fast' in args
|
||||
is_repl: is_repl
|
||||
build_mode: build_mode
|
||||
cflags: cflags
|
||||
|
Reference in New Issue
Block a user