arm-targets 0.4.1

Compile-time feature detection for Arm processors
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! CLI tool for arm-targets

/// Entry point to the program
fn main() {
    if let Some(target) = std::env::args().nth(1) {
        println!("// These are the features for the target '{}'", target);
        arm_targets::process_target(&target);
    } else {
        println!("// These are the features this crate enables:");
        arm_targets::process_target("");
    }
}