v.pref: only show the `disabling parallel cgen` message when -no-parallel was not given and -prealloc was
parent
975550f912
commit
8f4fe61381
|
@ -137,7 +137,9 @@ pub fn (mut p Preferences) fill_with_defaults() {
|
||||||
p.bare_builtin_dir = os.join_path(p.vroot, 'vlib', 'builtin', 'linux_bare')
|
p.bare_builtin_dir = os.join_path(p.vroot, 'vlib', 'builtin', 'linux_bare')
|
||||||
}
|
}
|
||||||
$if prealloc {
|
$if prealloc {
|
||||||
|
if !p.no_parallel {
|
||||||
eprintln('disabling parallel cgen, since V was built with -prealloc')
|
eprintln('disabling parallel cgen, since V was built with -prealloc')
|
||||||
|
}
|
||||||
p.no_parallel = true
|
p.no_parallel = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue