Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

cargo's toolchain uses default instead of overridden toolchain of project #415

Open
darklyspaced opened this issue Aug 18, 2023 · 1 comment

Comments

@darklyspaced
Copy link

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.

@jason-shen
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants