`winit` error with rust-analyzer on Linux

⚓ Rust    📅 2025-09-04    👤 surdeus    👁️ 2      

surdeus

I am editing the winit project on Linux in VS Code and rust-analyzer says there is an error. It is trying to include some macOS specific code. It builds and checks fine with cargo. I filed a report with the project:

I'm on rust-analyzer version 0.3.2593 and I've tried the pre-release version too.

Is this a manifestation of a known issue? Any ideas about how to debug it?

6 posts - 2 participants

Read full topic

🏷️ Rust_feed