Quantcast
Channel: Active questions tagged rustc - Solana Stack Exchange
Viewing all articles
Browse latest Browse all 37

Getting error that I am using an older version of rust, but --version shows I am using latest

$
0
0

Although my Rust is version 1.78.0 I constantly am getting this error when I do an anchor build:

error: package toml_edit v0.21.1 cannot be built because it requires rustc 1.69 or newer, while the currently active rustc version is 1.68.0-devEither upgrade to rustc 1.69 or newer, or usecargo update -p toml_edit@0.21.1 --precise verwhere ver is the latest version of toml_edit supporting rustc 1.68.0-dev

I have tried everything (from clean new rust build to forcing builds) nothing works.


Viewing all articles
Browse latest Browse all 37

Trending Articles