mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
v.pref: skip vlib/builtin/prealloc.c.v, when -prealloc is not passed (#15553)
This commit is contained in:
parent
a1e87664f4
commit
329670431b
@ -30,6 +30,9 @@ pub fn (prefs &Preferences) should_compile_filtered_files(dir string, files_ []s
|
||||
if file.starts_with('.#') {
|
||||
continue
|
||||
}
|
||||
if !prefs.prealloc && !prefs.output_cross_c && file.ends_with('prealloc.c.v') {
|
||||
continue
|
||||
}
|
||||
if prefs.nofloat && file.ends_with('float.c.v') {
|
||||
continue
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user