]> git.proxmox.com Git - rustc.git/blobdiff - vendor/getrandom/src/test_rdrand.rs
Update upstream source from tag 'upstream/1.52.1+dfsg1'
[rustc.git] / vendor / getrandom / src / test_rdrand.rs
diff --git a/vendor/getrandom/src/test_rdrand.rs b/vendor/getrandom/src/test_rdrand.rs
new file mode 100644 (file)
index 0000000..fafa6ac
--- /dev/null
@@ -0,0 +1,8 @@
+// We only test the RDRAND-based RNG source on supported architectures.
+#![cfg(any(target_arch = "x86_64", target_arch = "x86"))]
+
+#[path = "rdrand.rs"]
+mod rdrand;
+use rdrand::getrandom_inner as getrandom;
+#[path = "test_common.rs"]
+mod test_common;