mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-26 16:11:07 +00:00
17 lines
554 B
Rust
17 lines
554 B
Rust
use ring::{signature, test};
|
|
|
|
#[cfg(target_arch = "wasm32")]
|
|
use wasm_bindgen_test::{wasm_bindgen_test, wasm_bindgen_test_configure};
|
|
|
|
#[cfg(target_arch = "wasm32")]
|
|
wasm_bindgen_test_configure!(run_in_browser);
|
|
|
|
#[test]
|
|
#[cfg_attr(target_arch = "wasm32", wasm_bindgen_test)]
|
|
fn signature_impl_test() {
|
|
test::compile_time_assert_clone::<signature::Signature>();
|
|
test::compile_time_assert_copy::<signature::Signature>();
|
|
test::compile_time_assert_send::<signature::Signature>();
|
|
test::compile_time_assert_sync::<signature::Signature>();
|
|
}
|