VSCode change target_os highlighting

Hi there, does anyone know how to configure VSCode (using rust-analyzer) to not gray out sections meant for a different target_os than the one VCCode is running on itself ?

I am developing on Mac but compile for windows and changing it would help a lot :slight_smile:

Sorry. After writing the question I looked into the rust-analyzer workspace settings in VSCode. And there it is of course.


"rust-analyzer.cargo.target": "x86_64-pc-windows-msvc"

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.