Crate rustc_version_runtime [−] [src]
Simple library for getting the version information of a rustc
compiler in runtime.
The goal of this crate is to provide debug information to developers, not to branch application logic based on compiler version. Please, don't do that.
Example
extern crate rustc_version_runtime; println!("This was compiled using {:?}", rustc_version_runtime::version());
Functions
version |
Returns the |
version_matches |
Check wether the |
version_meta |
Returns the |