Skip to content

Commit

Permalink
builder: match nativebuilder with cbuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
Spydr06 committed Jul 1, 2023
1 parent b24a8a7 commit 6b16ba3
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion vlib/v/builder/nativebuilder/nativebuilder.v
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,16 @@ pub fn start() {
}

pub fn compile_native(mut b builder.Builder) {
if b.pref.is_verbose {
println('all .v files before:')
}
mut files := b.get_builtin_files()
files << b.pref.path
files << b.get_user_files()
b.set_module_lookup_paths()
if b.pref.is_verbose {
println('all .v files:')
println(files)
}
build_native(mut b, files, b.pref.out_name)
}

Expand Down

0 comments on commit 6b16ba3

Please sign in to comment.