#Cross-typechecking with rust-analyzer

3 messages · Page 1 of 1 (latest)

tacit scaffold
#

Hello, everyone!

I am changing some windows-specific code of a crate, while dev-ing everything on Linux and need to see if everything compiles correctly. Does anyone know how to make rust-analyzer typecheck my code as if cfg(windows) is set?

pale hearth
#

rust-analyzer.checkOnSave.target takes a list of targets, you should be able to set both triples

#

that was merged 5 days ago, i think it was in monday's release