When I run anchor build
I get the error:
error: package solana-program v1.18.26
cannot be built because it requires rustc 1.75.0 or newer, while the currently active rustc version is 1.72.0-dev
Either upgrade to rustc 1.75.0 or newer, or use
cargo update -p [email protected] --precise ver
where ver
is the latest version of solana-program
supporting rustc 1.72.0-dev
How can I tell anchor to use a later version of solana?
when I run rustc --version
it prints: 1.79.0