Hashing algorithm and cross-compilation

⚓ Rust    📅 2026-01-31    👤 surdeus    👁️ 1      

surdeus

The std documentation is clear that the default hashing algorithm is not specified, so I cannot rely on it being the same across releases. But can I rely on it being the same across targets for the same release? The case I have in mind is when generating a static hash table during the build, where the hash function must match across the two platforms in case of cross-compilation.

4 posts - 3 participants

Read full topic

🏷️ Rust_feed