diff options
author | lafleur <lafleur@boum.org> | 2021-11-07 14:19:37 +0100 |
---|---|---|
committer | lafleur <lafleur@boum.org> | 2021-11-07 14:19:37 +0100 |
commit | 1e33e3ab0790d977add329e9686b4b9e5570ba3c (patch) | |
tree | eb55ce7ff42be89be640ce2330e2503349267798 /rustables/src/lib.rs | |
parent | 55d9bf885e009953a0001062b2b60c21e8322a31 (diff) |
call bindgen on build in rustables
Diffstat (limited to 'rustables/src/lib.rs')
-rw-r--r-- | rustables/src/lib.rs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/rustables/src/lib.rs b/rustables/src/lib.rs index d94c753..6eedf9f 100644 --- a/rustables/src/lib.rs +++ b/rustables/src/lib.rs @@ -76,8 +76,8 @@ use thiserror::Error; #[macro_use] extern crate log; -pub use rustables_sys; -use rustables_sys::libc; +pub mod sys; +use sys::libc; use std::{convert::TryFrom, ffi::c_void, ops::Deref}; macro_rules! try_alloc { @@ -118,9 +118,6 @@ pub use rule::{get_rules_cb, list_rules_for_chain}; pub mod set; -#[cfg(test)] -mod tests; - /// The type of the message as it's sent to netfilter. A message consists of an object, such as a /// [`Table`], [`Chain`] or [`Rule`] for example, and a [`MsgType`] to describe what to do with /// that object. If a [`Table`] object is sent with `MsgType::Add` then that table will be added |