Use md5 dwarf hash, only if all files has it

Co-Authored-By: bjorn3 <bjorn3@users.noreply.github.com>
This commit is contained in:
Kitsu 2020-04-20 23:27:54 +03:00 committed by GitHub
parent fb709ede02
commit 8c7a457753
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,7 +76,7 @@ fn line_program_add_file(
let info = make_file_info(file.src_hash);
line_program.file_has_md5 = info.is_some();
line_program.file_has_md5 &= info.is_some();
line_program.add_file(file_name, dir_id, info)
}
// FIXME give more appropriate file names