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 @@ -700,7 +700,7 @@ unix_build_build_script_cmd: (compiler_cmd: std::string, info: cpp2b_source_buil
700
700
build_build_script: (info: cpp2b_source_build_info) -> build_binary_result = {
701
701
compiler :== cpp2b::compiler();
702
702
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";
704
704
log_path := fs::absolute(".cache/cpp2/log/compile") / fs::path(info.src).replace_extension(".log");
705
705
ensure_dir(log_path.parent_path());
706
706
ensure_dir(bin_outpath.parent_path());
@@ -877,7 +877,7 @@ do_build: (targets: std::vector<std::string>) -> (stuff: full_build_info, exit_c
877
877
prev_file_hashes[fs::path(p)] = path_hash;
878
878
}
879
879
880
- for file_hashes do(inout entry) {
880
+ for file_hashes do(entry) {
881
881
p := entry.first;
882
882
hash := entry.second;
883
883
@@ -893,7 +893,7 @@ do_build: (targets: std::vector<std::string>) -> (stuff: full_build_info, exit_c
893
893
}
894
894
895
895
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);
897
897
898
898
for file_hashes do(inout entry) {
899
899
p := entry.first.generic_string();
You can’t perform that action at this time.
0 commit comments