diff options
Diffstat (limited to 'third_party/rust/getrandom/tests/normal.rs')
-rw-r--r-- | third_party/rust/getrandom/tests/normal.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/third_party/rust/getrandom/tests/normal.rs b/third_party/rust/getrandom/tests/normal.rs new file mode 100644 index 0000000000..5fff13b38e --- /dev/null +++ b/third_party/rust/getrandom/tests/normal.rs @@ -0,0 +1,11 @@ +// Don't test on custom wasm32-unknown-unknown +#![cfg(not(all( + target_arch = "wasm32", + target_os = "unknown", + feature = "custom", + not(feature = "js") +)))] + +// Use the normal getrandom implementation on this architecture. +use getrandom::getrandom as getrandom_impl; +mod common; |