~ruther/avr-device

ref: fb9d2d977794274b9e4eebc8faa5ef0928628564 avr-device/build.rs -rw-r--r-- 567 bytes
fb9d2d97 — Rahix Enable CI 5 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
use std::process;

fn main() {
    // Just run `make` to generate the chip definitions
    if !process::Command::new("make").status().unwrap().success() {
        eprintln!("
avr-device: Running `make` resulted in a failure.

    Please make sure, you have all dependencies
    installed.  They are:
        - atdf2svd
        - svd2rust
        - form
        - rustfmt (for the nightly toolchain!)
        - PyYAML

    For more info, look at README file:
        https://github.com/Rahix/avr-device/blob/master/README.md
");
        panic!("make failed");
    }
}
Do not follow this link