All Questions
4 questions
5
votes
2
answers
211
views
What's the benefit of using platform-tools compared to Rust's upstream bpfel-unknown-none target?
The fact that Solana's CLI installer shipped (and still ships) with a nearly year-long outdated version of platform-tools has been a pain point with the previous Solana team I've worked with. platform-...
1
vote
1
answer
294
views
"package solana-program v1.18.7 cannot be built" error [duplicate]
I have a new Rust project that gives the following error when I compile it.
package `solana-program v1.18.7` cannot be built because it requires rustc 1.72.0 or newer, while the currently active rustc ...
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 ...
1
vote
0
answers
77
views
RUSTFLAGS="-C instrument-coverage" with solana program [closed]
Trying to add check coverage, when using RUSTFLAGS="-C instrument-coverage" cargo build-bpf I'm getting:
error: failed to run `rustc` to learn about target-specific information
Caused by:
...