rust solana build error: no such subcommand: +bpf

Viewed 6926

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.

1 Answers
Related