We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ceb7e5 commit a56faa8Copy full SHA for a56faa8
src/rdrand.rs
@@ -45,10 +45,10 @@ unsafe fn rdrand() -> Result<[u8; WORD_SIZE], Error> {
45
Err(Error::FAILED_RDRAND)
46
}
47
48
-// "rdrand" target feature requires "+rdrnd" flag, see https://github.com/rust-lang/rust/issues/49653.
+// "rdrand" target feature requires "+rdrand" flag, see https://github.com/rust-lang/rust/issues/49653.
49
#[cfg(all(target_env = "sgx", not(target_feature = "rdrand")))]
50
compile_error!(
51
- "SGX targets require 'rdrand' target feature. Enable by using -C target-feature=+rdrnd."
+ "SGX targets require 'rdrand' target feature. Enable by using -C target-feature=+rdrand."
52
);
53
54
#[cfg(target_feature = "rdrand")]
0 commit comments