Jinoh Kang (@iamahuman) commented about tools/wine/wine.rs:
"/{}/{}",
name,
if is_pe_target(target) {
"windows"
} else {
"unix"
}
)
- } else {
"".to_string()
- }
+}
+fn is_pe_target(_target: &Target) -> bool {
- // Implement platform-specific PE detection logic if needed
- false
```suggestion:-1+0 // What could go wrong? cfg!(target_os = "windows") ```