erasure_isa_l_sys/lib.rs
1#![allow(non_upper_case_globals)]
2#![allow(non_camel_case_types)]
3#![allow(non_snake_case)]
4
5include!(concat!(env!("OUT_DIR"), "/bindings/isal.rs"));
6
7#[cfg(test)]
8mod test {
9 use crate::gf_inv;
10
11 #[test]
12 fn link_works() {
13 // This test is to ensure that the library can be linked correctly.
14 // It does not need to do anything, just linking is enough.
15 assert_eq!(unsafe { gf_inv(0) }, 0);
16 }
17}