Closed
Description
For the initial cut at Rust support we're not handling rustup overrides, since we're caching compiler info purely by compiler path. With rustup, the same compiler binary can invoke different Rust toolchains depending on the cwd, so we'll have to handle that somehow.
I was thinking of using a two-tier cache where we cache the "is this a Rust compiler?" result in the server code as we currently do, but then internally check for the presence of a rustup
binary next to rustc
and run rustup which rustc
or something in the compile cwd to locate the actual compiler in use, and then have a cache of compilers using that path.
Metadata
Assignees
Labels
No labels