1b8a62b91Sopenharmony_ciuse rustix::rand::{getrandom, GetRandomFlags};
2b8a62b91Sopenharmony_ci
3b8a62b91Sopenharmony_ci#[test]
4b8a62b91Sopenharmony_cifn test_getrandom() {
5b8a62b91Sopenharmony_ci    let mut buf = [0_u8; 256];
6b8a62b91Sopenharmony_ci    let _ = getrandom(&mut buf, GetRandomFlags::empty());
7b8a62b91Sopenharmony_ci}
8