mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
v.pref: only show the disabling parallel cgen
message when -no-parallel was not given and -prealloc was
This commit is contained in:
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')
|
||||
}
|
||||
$if prealloc {
|
||||
eprintln('disabling parallel cgen, since V was built with -prealloc')
|
||||
if !p.no_parallel {
|
||||
eprintln('disabling parallel cgen, since V was built with -prealloc')
|
||||
}
|
||||
p.no_parallel = true
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user