From 413da8be620bb5275097dc38ce981e0409c9bd5f Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Sat, 30 Sep 2023 20:16:26 +0300 Subject: [PATCH] ci: fix misc-tooling, `V self compilation with g++ and -std=c++11` --- thirdparty/stdatomic/nix/cpp/gen.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thirdparty/stdatomic/nix/cpp/gen.v b/thirdparty/stdatomic/nix/cpp/gen.v index 7d5d9d268bc1ed..c9f02a0876b900 100644 --- a/thirdparty/stdatomic/nix/cpp/gen.v +++ b/thirdparty/stdatomic/nix/cpp/gen.v @@ -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)