mirror of
https://github.com/italicsjenga/spirv-to-dxil-rs.git
synced 2025-02-18 04:47:43 +11:00
22 lines
384 B
Rust
22 lines
384 B
Rust
#![allow(non_upper_case_globals)]
|
|
#![allow(non_camel_case_types)]
|
|
#![allow(non_snake_case)]
|
|
|
|
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
|
|
|
|
#[cfg(feature = "docsrs")]
|
|
mod bindings;
|
|
|
|
#[cfg(feature = "docsrs")]
|
|
pub use bindings::*;
|
|
|
|
#[cfg(test)]
|
|
mod tests {
|
|
use super::*;
|
|
|
|
#[test]
|
|
fn it_works() {
|
|
let result = add(2, 2);
|
|
assert_eq!(result, 4);
|
|
}
|
|
}
|