I am new to solana and rust, recently i have installed thier example-helloworld from this repo- https://github.com/solana-labs/example-helloworld . Whenever i have tried to build the rust program using npm scripts or going to the rust program directory to manually run cargo build-bpf, it says - no such subcommand: +bpf.terminal error image
i have also tried the command which cargo-build-bpf,it have no error. however i have also tried to manually build using cargo build ,it throws a error.
Your version of Rust may be out of date, can you try updating to Rust 1.53? You should be able to get it using:
rustup toolchain add 1.53
You might then need to reinstall the Solana tool suite, following the instructions at: https://docs.solana.com/cli/install-solana-cli-tools#use-solanas-install-tool
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With