ci: fix misc-tooling, V self compilation with g++ and -std=c++11

This commit is contained in:
Delyan Angelov 2023-09-30 20:16:26 +03:00
parent f5fc0f9ea2
commit 413da8be62
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -75,7 +75,7 @@ fn get_search_paths(cc string) []string {
return search_path.map(os.real_path(it.all_before('(').trim_space()))
}
fn find_file(search_paths []string, file string) ?string {
fn find_file(search_paths []string, file string) !string {
for search_path in search_paths {
if os.exists(os.join_path(search_path, file)) {
return os.join_path(search_path, file)