Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
1 answer
43 views

How to solve the cargo build-sbf error?

I have just started with rust and solana. Firstly, I created a solana program using the command: cargo init hello_world --lib everything ran fine, and then i read from the official docs, to build i ...
Saniddhya Dubey's user avatar
6 votes
1 answer
2k views

How do I fix "package solana-program v1.18.0 cannot be built because it requires rustc 1.72.0 or newer"?

When building an onchain program with cargo build-sbf using solana-program v1.18, I get the following error: error: package solana-program v1.18.0 cannot be built because it requires rustc 1.72.0 or ...
Jon C's user avatar
  • 19.6k