From 38802cab0aee115d7757329f09496c3b27b09be3 Mon Sep 17 00:00:00 2001 From: Mathias Kraus Date: Tue, 21 Jun 2022 22:39:05 +0200 Subject: [PATCH] iox-#5 Build testing module only for tests --- src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index d9610cf..517c34c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -9,7 +9,6 @@ extern crate cpp; mod error; mod runtime; -mod testing; pub mod introspection; pub mod pb; @@ -19,5 +18,7 @@ pub mod sb; pub use error::IceOryxError; pub use runtime::Runtime; +#[cfg(test)] +mod testing; #[cfg(test)] mod tests;