$ rustc --version
'$' is not recognized as an internal or external command,
operable program or batch file.
The $
symbolizes the prompt (the bash prompt, in particular). It's not a part of the command. You are just supposed to write rustc --version
Dear still same error
\Documents>rust --version
'rust' is not recognized as an internal or external command,
operable program or batch file.
\Documents>rust --version
'rust' is not recognized as an internal or external command,
operable program or batch file.
It is rustc
not just rust
, like:
\Documents> rustc --version
Thank You,,,
Thank you,,,
sorry
$ mkdir ~/projects
$ cd ~/projects
$ mkdir hello_world
$ cd hello_world
how to write all of the above lines in windows on Rust ???
You can use PowerShell on Windows, which has aliases set up to work similar to the unix command. Then all those commands Should Just Workâ˘.
i get an ssl error when i added the dependency in cargo.toml file how to solve this.
error: could not exec the linker link.exe
: The system cannot find the file specified. (os error 2)
PS C:\projects\hello_world>
kindly tell me how to fix it???
Are you using MSVC version? you need VC++ build tools (http://go.microsoft.com/fwlink/?LinkId=691126). I think using mingw version is the simplest one when you want to learn rust (https://static.rust-lang.org/dist/rust-1.7.0-x86_64-pc-windows-gnu.msi).
Thank you So much,,,
It worked for me, thanks