mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
builder: don't panic if msvc rootdir isn't found (#6068)
This commit is contained in:
parent
f331f63f53
commit
bf20d6d3db
@ -96,9 +96,7 @@ fn find_windows_kit_root(host_arch string) ?WindowsKit {
|
||||
}
|
||||
kit_lib := kit_root + 'Lib'
|
||||
// println(kit_lib)
|
||||
files := os.ls(kit_lib) or {
|
||||
panic(err)
|
||||
}
|
||||
files := os.ls(kit_lib)?
|
||||
mut highest_path := ''
|
||||
mut highest_int := 0
|
||||
for f in files {
|
||||
|
Loading…
Reference in New Issue
Block a user