1 use rustix::thread; 2 3 #[cfg(any(target_os = "android", target_os = "linux"))] 4 #[test] test_gettid()5 fn test_gettid() { 6 assert_eq!(thread::gettid(), thread::gettid()); 7 } 8