Use SHA256 by default when targeting MSVC
This commit is contained in:
parent
079e544174
commit
fcdff634cf
1 changed files with 1 additions and 1 deletions
|
@ -1420,7 +1420,7 @@ pub fn build_session(
|
|||
let loader = file_loader.unwrap_or_else(|| Box::new(RealFileLoader));
|
||||
let hash_kind = sopts.unstable_opts.src_hash_algorithm.unwrap_or_else(|| {
|
||||
if target_cfg.is_like_msvc {
|
||||
SourceFileHashAlgorithm::Sha1
|
||||
SourceFileHashAlgorithm::Sha256
|
||||
} else {
|
||||
SourceFileHashAlgorithm::Md5
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue