File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -700,7 +700,7 @@ unix_build_build_script_cmd: (compiler_cmd: std::string, info: cpp2b_source_buil
700700build_build_script: (info: cpp2b_source_build_info) -> build_binary_result = {
701701 compiler :== cpp2b::compiler();
702702 bin_outpath := fs::absolute(".cache/cpp2/bin") / fs::path(info.src).replace_extension(shared_library_extension());
703- bin_cache_file_path := fs::path( bin_outpath.generic_string() + ".cpp2bcache")
703+ bin_cache_file_path: fs::path = bin_outpath.generic_string() + ".cpp2bcache";
704704 log_path := fs::absolute(".cache/cpp2/log/compile") / fs::path(info.src).replace_extension(".log");
705705 ensure_dir(log_path.parent_path());
706706 ensure_dir(bin_outpath.parent_path());
@@ -877,7 +877,7 @@ do_build: (targets: std::vector<std::string>) -> (stuff: full_build_info, exit_c
877877 prev_file_hashes[fs::path(p)] = path_hash;
878878 }
879879
880- for file_hashes do(inout entry) {
880+ for file_hashes do(entry) {
881881 p := entry.first;
882882 hash := entry.second;
883883
@@ -893,7 +893,7 @@ do_build: (targets: std::vector<std::string>) -> (stuff: full_build_info, exit_c
893893 }
894894
895895 hash_data_file.close();
896- hash_data_file.open(".cache/cpp2/.data ", std::ios::binary | std::ios::out | std::ios::trunc);
896+ hash_data_file.open(".cache/cpp2/.hash ", std::ios::binary | std::ios::out | std::ios::trunc);
897897
898898 for file_hashes do(inout entry) {
899899 p := entry.first.generic_string();
You can’t perform that action at this time.
0 commit comments