rust-tools.nvim
rust-tools.nvim copied to clipboard
cargo's toolchain uses default instead of overridden toolchain of project
when invoked from a dir for which the default toolchain has been overridden using rustup override set stable, the default toolchain is still used for the cargo check.
i'm pretty sure that this issue lies in rust-tools itself and not rust-analyzer, though i might be mistaken. idk how the toolchain is chosen. if it lies in rust-analyzer itself, i'll create another issue up the chain.
i am on the same boat here, if the root of the project has a rust-toolchain file, i get a rust-analyzer: proc 'main' not expaned: proc macro crate is missing dylib, but if i remove that file, it seems good, wonder if there is a fix for this