Crates.io | target_info |
lib.rs | target_info |
version | 0.1.0 |
source | src |
created_at | 2016-02-01 16:41:46.835699 |
updated_at | 2016-02-01 16:41:46.835699 |
description | Get text strings of attributes concernign the build target. |
homepage | https://github.com/gavofyork/target_info |
repository | https://github.com/gavofyork/target_info |
max_upload_size | |
id | 4047 |
size | 2,680 |
Super simple library to get stringified versions of the various build target configuration attributes.
Example:
use target_info::Target;
println!("Target is {}-{}-{}", Target::arch(), Target::env(), Target::os());