rustc_info

Crates.iorustc_info
lib.rsrustc_info
version0.0.2
sourcesrc
created_at2016-08-22 23:49:32.892218
updated_at2016-11-25 14:13:34.817258
descriptionA compiler plugin which provides several macros for exposing rustc version info into the rust code for debugging purposes
homepage
repositoryhttps://github.com/Kodegenix/rustc-info-rs
max_upload_size
id6076
size5,389
Jakub Chłapiński (jchlapinski)

documentation

README

rustc-info-rs

Travis-CI Status

The rustc_info plugin provides several macros for exposing compiler info into the rust code for debugging purposes.

Examples

#![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)

Commit count: 0

cargo fmt