Skip to content

Commit ffd3051

Browse files
committed
expect deprecated method in dependency
1 parent 2998db1 commit ffd3051

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tools/coverage-dump/src/llvm_utils.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ pub(crate) fn truncated_md5(bytes: &[u8]) -> u64 {
4343
use md5::{Digest, Md5};
4444
let mut hasher = Md5::new();
4545
hasher.update(bytes);
46+
#[expect(deprecated, reason = "FIXME: md-5 pulls in a deprecated generic-array")]
4647
let hash: [u8; 8] = hasher.finalize().as_slice()[..8].try_into().unwrap();
4748
// The truncated hash is explicitly little-endian, regardless of host
4849
// or target platform. (See `MD5Result::low` in LLVM's `MD5.h`.)

0 commit comments

Comments
 (0)