psp2-sys 0.2.2

Unsafe Rust FFI bindings to the psp2 headers
Documentation
use std::env;
use std::path::PathBuf;

fn main() {
    if let Ok(sdk) = env::var("VITASDK").map(PathBuf::from) {
        let lib = sdk.join("arm-vita-eabi").join("lib");
        println!("cargo:rustc-link-search={}", lib.to_str().unwrap());
    } else {
        println!("cargo:warning=$VITASDK not set!");
    }
}