Quantcast
Channel: update rustc that anchor uses - Solana Stack Exchange
Viewing all articles
Browse latest Browse all 2

update rustc that anchor uses

$
0
0

After running cargo build-bpf I get the following error:

cargo-build-bpf child: rustup toolchain list -vcargo-build-bpf child: cargo +bpf build --target bpfel-unknown-unknown --releaseerror: package 'anchor-lang v0.27.0' cannot be built because it requires rustc 1.60 or newer, while the currently active rustc version is 1.59.0-dev

Sanity checking my rust version with rustup -V I get:

rustup 1.25.2 (2023-02-01)

info: This is the version for the rustup toolchain manager, not the rustc compiler.info: The currently active 'rustc' version is 'rustc 1.68.0 (2c8cc3432 2023-03-06)'

How can I update the rustc that Anchor sees?


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>