From 01a224425d2a90e660bbfffe8d1cbc6b93da24bd Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Mon, 27 Jan 2025 16:56:15 -0500 Subject: Fix some rust race conditions and comment some likely suspects FYI The binary view saving stuff can deadlock right now, so we document that now :/ --- rust/tests/platform.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'rust/tests/platform.rs') diff --git a/rust/tests/platform.rs b/rust/tests/platform.rs index c6c861fb..530f97b0 100644 --- a/rust/tests/platform.rs +++ b/rust/tests/platform.rs @@ -15,6 +15,7 @@ fn test_platform_lifetime(_session: &Session) { let platform_1 = Platform::by_name("windows-x86_64").expect("windows-x86_64 exists"); let platform_types_1 = platform_1.types(); assert_eq!(platform_types_0.len(), platform_types_1.len()); + assert_ne!(platform_types_1.len(), 0); } #[rstest] -- cgit v1.3.1