pma: export bindgen bindings from lib

This commit is contained in:
Edward Amsden 2023-11-29 10:36:19 -06:00
parent 41253e9848
commit add377b007

View File

@ -1,14 +1,6 @@
pub fn add(left: usize, right: usize) -> usize {
left + right
}
#![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
#[cfg(test)]
mod tests {
use super::*;
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
#[test]
fn it_works() {
let result = add(2, 2);
assert_eq!(result, 4);
}
}