diff --git a/rust/ares_pma/src/lib.rs b/rust/ares_pma/src/lib.rs index 7d12d9a..8448cc2 100644 --- a/rust/ares_pma/src/lib.rs +++ b/rust/ares_pma/src/lib.rs @@ -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); - } -}