Skip to content

Commit 558282a

Browse files
committed
Add TODO for MSRV 1.94
1 parent b2ea45f commit 558282a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/backends/rdrand.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ fn is_rdrand_good() -> bool {
7777
{
7878
// SAFETY: All Rust x86 targets are new enough to have CPUID, and we
7979
// check that leaf 1 is supported before using it.
80+
//
81+
// TODO(MSRV 1.94): remove allow(unused_unsafe) and the unsafe blocks for `__cpuid`.
8082
#[allow(unused_unsafe)]
8183
let cpuid0 = unsafe { arch::__cpuid(0) };
8284
if cpuid0.eax < 1 {

0 commit comments

Comments
 (0)