rust/compiler/rustc_session
bors 5419aa3a66 Auto merge of #113707 - sivadeilra:user/ardavis/sha256, r=eholk
Use SHA256 source file checksums by default when targeting MSVC

Currently, when targeting Windows (more specifically, the MSVC toolchain), Rust will use SHA1 source file checksums by default.  SHA1 has been superseded by SHA256, and Microsoft recommends migrating to SHA256.

As of Visual Studio 2022, MSVC defaults to SHA256.  This change aligns Rust and MSVC.

LLVM can already use SHA256 checksums, so this does not require any change to LLVM.

MSVC docs on source file checksums: https://learn.microsoft.com/en-us/cpp/build/reference/zh?view=msvc-170
2023-07-21 07:24:27 +00:00
..
src Auto merge of #113707 - sivadeilra:user/ardavis/sha256, r=eholk 2023-07-21 07:24:27 +00:00
Cargo.toml add dedicated -C link-self-contained structure 2023-06-30 20:37:24 +00:00
messages.ftl Move OutFileName writing into rustc_session 2023-07-20 11:04:31 -07:00