Skip to main content

vitagl_sys/
lib.rs

1#![allow(non_upper_case_globals)]
2#![allow(non_camel_case_types)]
3#![allow(non_snake_case)]
4#![allow(nonstandard_style)]
5#![doc = include_str!("../README.md")]
6#![cfg_attr(
7    not(target_os = "vita"),
8    doc = "\n\n# This crate provides bindings to the PlayStation Vita's native APIs. It is only intended to be used on the Vita platform, and will not work on other platforms."
9)]
10
11#[cfg(feature = "bindgen")]
12include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
13
14#[cfg(not(feature = "bindgen"))]
15mod bindgen;
16#[cfg(not(feature = "bindgen"))]
17pub use bindgen::*;