We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25bd5a5 commit 5587f8cCopy full SHA for 5587f8c
src/rdrand.rs
@@ -32,7 +32,7 @@ unsafe fn rdrand() -> Result<[u8; WORD_SIZE], Error> {
32
}
33
34
#[cfg(all(target_env = "sgx", not(target_feature = "rdrand")))]
35
-compile_error!("SGX targets must enable RDRAND to get randomness");
+compile_error!("Target feature +rdrnd must be enabled for SGX targets.");
36
37
// TODO use is_x86_feature_detected!("rdrand") when that works in core. See:
38
// https://github.com/rust-lang-nursery/stdsimd/issues/464
0 commit comments