follow these steps to install rust:
1. download rustup tool from rustup.rs - The Rust toolchain installer
2.install rustup tool and it will open a command prompt
=> enter 2 for manually install the prerequisites
=> enter y to continue for installation without [ visual studio build tool with c++ ]
=> enter 1 to for default
=> press enter and it will close the prompt
3.now open new command prompt and enter "rustc --version" and enter to check rust compiler version
now check version for cargo using "cargo --version" and enter to check cargo version
if you able to see the version of these tools it means you installed them successfully
4.now run command "rustup default stable-gnu" to install some dependency of rustc compiler
now you able to compile rust file and you can build projects with rust
Alternative : You can install jetbrains toolBox and install rust rover ide through it
it helped me again ; thanks past of me
ReplyDeletegood information bhai
ReplyDelete