mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
compiler: add varg str method & varg / parser optimizations
This commit is contained in:
committed by
Alexander Medvednikov
parent
7b1993b1e4
commit
4120982da1
@@ -770,7 +770,7 @@ pub fn new_v(args[]string) &V {
|
||||
vroot := os.dir(vexe_path())
|
||||
|
||||
mut vgen_buf := strings.new_builder(1000)
|
||||
vgen_buf.writeln('module main\nimport strings')
|
||||
vgen_buf.writeln('module vgen\nimport strings')
|
||||
|
||||
joined_args := args.join(' ')
|
||||
target_os := get_arg(joined_args, 'os', '')
|
||||
|
||||
Reference in New Issue
Block a user