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

cargo build-bpf rustc version

$
0
0

I'm trying to use "cargo build-bpf" on a simple rust file, I'm using the "solana_program" dependency and the next error occurs:"error: package solana-program v1.16.5 cannot be built because it requires rustc 1.68.0 or newer, while the currently active rustc version is 1.62.0-dev"When I'm running "rustc -V", the result is "rustc 1.71.0 (8ede3aae2 2023-07-12)", I've tried to reinstall cargo and rustc and it didn't help. What could be the problem?


Viewing all articles
Browse latest Browse all 37

Trending Articles



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