| Crates.io | rustc_info |
| lib.rs | rustc_info |
| version | 0.0.2 |
| created_at | 2016-08-22 23:49:32.892218+00 |
| updated_at | 2016-11-25 14:13:34.817258+00 |
| description | A compiler plugin which provides several macros for exposing rustc version info into the rust code for debugging purposes |
| homepage | |
| repository | https://github.com/Kodegenix/rustc-info-rs |
| max_upload_size | |
| id | 6076 |
| size | 5,389 |
The rustc_info plugin provides several macros for exposing compiler info into the rust code for debugging purposes.
#![feature(plugin)]
#![plugin(rustc_info)]
fn main() {
println!("This project was compiled with rustc version: {} ({} {}) for {} target",
rustc_release!(),
rustc_commit_hash!(),
rustc_commit_date!(),
rustc_host!());
}
#License
Licensed under MIT license (LICENSE)