~ruther/avr-device

ref: 2e8d033ae63629ab84a3b7f8c2474d37ee71bcbd avr-device/build.rs -rw-r--r-- 316 bytes
2e8d033a — Rahix ci: Upgrade to a new compiler version 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
fn main() {
    println!("cargo:rerun-if-changed=build.rs");

    maybe_enable_asm();
}

#[rustversion::before(1.59.0)]
fn maybe_enable_asm() {
    //
}

#[rustversion::since(1.59.0)]
fn maybe_enable_asm() {
    // https://github.com/rust-lang/rust/pull/92816
    println!("cargo:rustc-cfg=avr_device_asm_macro");
}
Do not follow this link