Confused how i got two different rustc versions running parallel

3 weeks ago i did a simple rustup update and got my rustc to 1.81.0

Now i have rustc 1.81.0 on my home folder, but 1.76.0 in my rust folder with all my projects. I remember having 1.81.0 in my rust folder hence some of my projects don't compile on 1.76.0, and hence i didn't hack around with toolchains, i'm confused how this happened

running arch

a rustup update doesn't change anything

whats going on here?

thx & regards
Kristian

You have a rust-toolchain file in your rust/ directory that overrides the default toolchain.

1 Like

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.