mirror of
https://github.com/vlang/v.git
synced 2025-08-03 17:57:59 -04:00
ci: fix misc-tooling, V self compilation with g++ and -std=c++11
This commit is contained in:
parent
f5fc0f9ea2
commit
413da8be62
2
thirdparty/stdatomic/nix/cpp/gen.v
vendored
2
thirdparty/stdatomic/nix/cpp/gen.v
vendored
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user