Skip to main content

print_version_info

Function print_version_info 

Source
pub fn print_version_info()
Expand description

Print rich version & system environment details for -v / -V / –version.

This, not clap, is what devp --version actually runs — [normalize_args] catches the flag first. The author and repository are printed here because a copy of this binary found on a machine with no package manager record should still be able to say where it came from, and --version is the first thing anyone runs on an unknown executable.