extern crate libloading; #[cfg(test)] fn assert_send() {} #[cfg(test)] fn assert_sync() {} #[cfg(test)] fn assert_display() {} #[test] fn check_error_send() { assert_send::(); } #[test] fn check_error_sync() { assert_sync::(); } #[test] fn check_error_display() { assert_display::(); } #[test] fn check_library_send() { assert_send::(); } #[cfg(unix)] #[test] fn check_unix_library_send() { assert_send::(); } #[cfg(windows)] #[test] fn check_windows_library_send() { assert_send::(); } #[test] fn check_library_sync() { assert_sync::(); } #[cfg(unix)] #[test] fn check_unix_library_sync() { assert_sync::(); } #[cfg(windows)] #[test] fn check_windows_library_sync() { assert_sync::(); } #[test] fn check_symbol_send() { assert_send:: ()>>(); // assert_not_send::>(); } #[cfg(unix)] #[test] fn check_unix_symbol_send() { assert_send:: ()>>(); // assert_not_send::>(); } #[cfg(windows)] #[test] fn check_windows_symbol_send() { assert_send:: ()>>(); } #[test] fn check_symbol_sync() { assert_sync:: ()>>(); // assert_not_sync::>(); } #[cfg(unix)] #[test] fn check_unix_symbol_sync() { assert_sync:: ()>>(); // assert_not_sync::>(); } #[cfg(windows)] #[test] fn check_windows_symbol_sync() { assert_sync:: ()>>(); // assert_not_sync::>(); }