arm 0.0.1

Low level abstraction of ARM architecture specific features.
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::env;

fn main() {
    let target = env::var("TARGET").
        expect("TARGET env var is not defined");

    if !target.starts_with("arm") {
        println!("cargo:warning=Only ARM architecture is supported. \
               Please consult README.md for building instructions.")
    }

    println!("cargo:rerun-if-changed=build.rs");
}