File: disable-rdrand-test.patch

package info (click to toggle)
rust-getrandom 0.2.8-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 312 kB
  • sloc: makefile: 4
file content (15 lines) | stat: -rw-r--r-- 439 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Index: getrandom/tests/rdrand.rs
===================================================================
--- getrandom.orig/tests/rdrand.rs
+++ getrandom/tests/rdrand.rs
@@ -1,3 +1,4 @@
+/*
 // We only test the RDRAND-based RNG source on supported architectures.
 #![cfg(any(target_arch = "x86_64", target_arch = "x86"))]
 
@@ -12,4 +13,4 @@ mod rdrand;
 mod util;
 
 use rdrand::getrandom_inner as getrandom_impl;
-mod common;
+mod common;*/