mpi 0.5.1

Message Passing Interface bindings for Rust
1
2
3
4
5
6
7
8
9
extern crate rustc_version;
use rustc_version::Version as RustcVersion;

fn main() {
    // Access to extern statics has to be marked unsafe after 1.13.0
    if rustc_version::version().unwrap() >= RustcVersion::parse("1.13.0").unwrap() {
        println!("cargo:rustc-cfg=extern_statics_are_unsafe");
    }
}