diff options
| author | Jacob Kiesel <jake@bitcrafters.co> | 2024-06-22 01:27:59 -0600 |
|---|---|---|
| committer | Jacob Kiesel <jake@bitcrafters.co> | 2024-10-01 21:23:20 -0600 |
| commit | bb5a8276be2d3dbc97d0f52e90db15455d542edf (patch) | |
| tree | ee179495725a17cf0a862ce5f6db95e0c6969813 /compiler/rustc_codegen_llvm/src | |
| parent | bfe5e8cef698ccc4fca655b4cdbabf78fed43816 (diff) | |
| download | rust-bb5a8276be2d3dbc97d0f52e90db15455d542edf.tar.gz rust-bb5a8276be2d3dbc97d0f52e90db15455d542edf.zip | |
add unstable support for outputting file checksums for use in cargo
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/debuginfo/metadata.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/src/debuginfo/metadata.rs b/compiler/rustc_codegen_llvm/src/debuginfo/metadata.rs index 964b83c0fa0..b7a6f80956d 100644 --- a/compiler/rustc_codegen_llvm/src/debuginfo/metadata.rs +++ b/compiler/rustc_codegen_llvm/src/debuginfo/metadata.rs @@ -630,6 +630,7 @@ pub(crate) fn file_metadata<'ll>(cx: &CodegenCx<'ll, '_>, source_file: &SourceFi rustc_span::SourceFileHashAlgorithm::Md5 => llvm::ChecksumKind::MD5, rustc_span::SourceFileHashAlgorithm::Sha1 => llvm::ChecksumKind::SHA1, rustc_span::SourceFileHashAlgorithm::Sha256 => llvm::ChecksumKind::SHA256, + rustc_span::SourceFileHashAlgorithm::Blake3 => llvm::ChecksumKind::None, }; let hash_value = hex_encode(source_file.src_hash.hash_bytes()); |
