rustHow to check version of Rust
You can check the version of Rust installed on your system by running the rustc --version
command in the terminal. This command will output the version of Rust installed on your system.
Example:
$ rustc --version
rustc 1.45.2 (035cf1f3b 2020-07-13)
Explanation:
rustc
: This is the Rust compiler command.--version
: This flag is used to print the version of Rust installed on the system.1.45.2
: This is the version of Rust installed on the system.035cf1f3b
: This is the commit hash of the Rust compiler.2020-07-13
: This is the date of the Rust compiler commit.
Helpful links:
More of Rust
- How to replace a capture group using Rust regex?
- Regex example to match multiline string in Rust?
- How to parse a file with Rust regex?
- How to use regex lookahead in Rust?
- How to use regex captures in Rust?
- How to use regex to match a group in Rust?
- How to match the end of a line in a Rust regex?
- How to perform matrix operations in Rust?
- How to use regex to match a double quote in Rust?
- How to replace strings using Rust regex?
See more codes...