File: gate-test-requiring-getrandom.patch

package info (click to toggle)
rust-tempfile 3.23.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 396 kB
  • sloc: makefile: 2
file content (10 lines) | stat: -rw-r--r-- 250 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
--- a/tests/namedtempfile.rs
+++ b/tests/namedtempfile.rs
@@ -539,6 +539,7 @@
 
 /// Make sure we re-seed with system randomness if we run into a conflict.
 #[test]
+#[cfg(feature = "getrandom")]
 fn test_reseed() {
     configure_wasi_temp_dir();