1 use ring::{signature, test}; 2 3 #[cfg(target_arch = "wasm32")] 4 use wasm_bindgen_test::{wasm_bindgen_test, wasm_bindgen_test_configure}; 5 6 #[cfg(target_arch = "wasm32")] 7 wasm_bindgen_test_configure!(run_in_browser); 8 9 #[test] 10 #[cfg_attr(target_arch = "wasm32", wasm_bindgen_test)] signature_impl_test()11fn signature_impl_test() { 12 test::compile_time_assert_clone::<signature::Signature>(); 13 test::compile_time_assert_copy::<signature::Signature>(); 14 test::compile_time_assert_send::<signature::Signature>(); 15 test::compile_time_assert_sync::<signature::Signature>(); 16 } 17