about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-07-21 07:24:27 +0000
committerbors <bors@rust-lang.org>2023-07-21 07:24:27 +0000
commit5419aa3a66fe0832269e021050b8275a2189c09f (patch)
tree61bf1ec2cc1c5e285aae76b6ca2776a735005478 /compiler/rustc_codegen_gcc
parent78f97c9b25863a80dc73818d3d542c86d69b7a40 (diff)
parentfcdff634cfd14ef624f1643a9ca8afc104068fcf (diff)
downloadrust-5419aa3a66fe0832269e021050b8275a2189c09f.tar.gz
rust-5419aa3a66fe0832269e021050b8275a2189c09f.zip
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
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions