Revert "move compiler/main.v to v.v"

This reverts commit 3748de8736.
pull/2334/head
Alexander Medvednikov 2019-10-14 03:48:36 +03:00
parent 5a80bf27f4
commit b237ffcf09
2 changed files with 1 additions and 1 deletions

View File

@ -885,7 +885,7 @@ pub fn new_v(args[]string) &V {
build_mode: build_mode
cflags: cflags
ccompiler: find_c_compiler()
building_v: !is_repl && (dir == 'v.v' || dir.contains('vlib'))
building_v: !is_repl && (rdir_name == 'compiler' || dir.contains('vlib'))
}
if pref.is_verbose || pref.is_debug {
println('C compiler=$pref.ccompiler')