Skip to content

Commit 37fd41b

Browse files
committed
Test fallback on Linux/Andorid
Signed-off-by: Joe Richey <[email protected]>
1 parent 14ba262 commit 37fd41b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/linux_android_with_fallback.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,8 @@ fn is_getrandom_available() -> bool {
2727
true
2828
}
2929
}
30+
31+
#[cfg(test)]
32+
mod fallback {
33+
crate::tests::define_tests!(super::use_file::getrandom_inner);
34+
}

0 commit comments

Comments
 (0)