rdseed 0.1.0-beta.11

Rust interface for RDRAND / RDSEED CPU instructions
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
// This is free and unencumbered software released into the public domain.
// SPDX-License-Identifier: CC0-1.0 OR Unlicense

#[test]
fn is_rdseed_available() {
   assert!(rdseed::is_available(), "RDSEED instruction is not available");
}

#[test]
fn is_rdrand_available() {
   assert!(rdseed::rand::is_available(), "RDRAND instruction is not available");
}