Debian Codegraph @

debian/rust-vendor/getrandom-0.2.17/tests/normal.rs

raw
1 // Don't test on custom wasm32-unknown-unknown
2 #![cfg(not(all(
3 target_arch = "wasm32",
4 target_os = "unknown",
5 feature = "custom",
6 not(feature = "js")
7 )))]
8
9 // Use the normal getrandom implementation on this architecture.
10 use getrandom::getrandom as getrandom_impl;
11 mod common;