VSCode change target_os highlighting

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

E.g.:

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

1 Like