File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -702,7 +702,7 @@ unix_build_build_script_cmd: (compiler_cmd: std::string, info: cpp2b_source_buil
702
702
build_build_script: (info: cpp2b_source_build_info) -> build_binary_result = {
703
703
compiler :== cpp2b::compiler();
704
704
bin_outpath := fs::absolute(".cache/cpp2/bin") / fs::path(info.src).replace_extension(shared_library_extension());
705
- bin_cache_file_path := fs::path( bin_outpath.generic_string() + ".cpp2bcache")
705
+ bin_cache_file_path: fs::path = bin_outpath.generic_string() + ".cpp2bcache";
706
706
log_path := fs::absolute(".cache/cpp2/log/compile") / fs::path(info.src).replace_extension(".log");
707
707
ensure_dir(log_path.parent_path());
708
708
ensure_dir(bin_outpath.parent_path());
@@ -879,7 +879,7 @@ do_build: (targets: std::vector<std::string>) -> (stuff: full_build_info, exit_c
879
879
prev_file_hashes[fs::path(p)] = path_hash;
880
880
}
881
881
882
- for file_hashes do(inout entry) {
882
+ for file_hashes do(entry) {
883
883
p := entry.first;
884
884
hash := entry.second;
885
885
@@ -895,7 +895,7 @@ do_build: (targets: std::vector<std::string>) -> (stuff: full_build_info, exit_c
895
895
}
896
896
897
897
hash_data_file.close();
898
- hash_data_file.open(".cache/cpp2/.data ", std::ios::binary | std::ios::out | std::ios::trunc);
898
+ hash_data_file.open(".cache/cpp2/.hash ", std::ios::binary | std::ios::out | std::ios::trunc);
899
899
900
900
for file_hashes do(inout entry) {
901
901
p := entry.first.generic_string();
You can’t perform that action at this time.
0 commit comments