Skip to content

Commit f52c7b2

Browse files
saethlinRalfJung
andauthored
Note that the same limitation applies to all LLVM-based compilers
Co-authored-by: Ralf Jung <post@ralfj.de>
1 parent 23b0106 commit f52c7b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/core/src/hint.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@ pub fn spin_loop() {
322322
///
323323
/// This limitation is not specific to `black_box`; there is no mechanism in the entire Rust
324324
/// language that can provide the guarantees required for constant-time cryptography.
325+
/// (There is also no such mechanism in LLVM, so the same is true for every other LLVM-based compiler.)
325326
///
326327
/// </div>
327328
///

0 commit comments

Comments
 (0)