File: fix-testing-feature.patch

package info (click to toggle)
rust-abscissa-core 0.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 420 kB
  • sloc: makefile: 4
file content (13 lines) | stat: -rw-r--r-- 345 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/lib.rs b/src/lib.rs
index 1429056..6346498 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -42,7 +42,7 @@ pub mod prelude;
 mod runnable;
 #[cfg(feature = "application")]
 mod shutdown;
-#[cfg(feature = "testing")]
+#[cfg(all(feature = "default", feature = "testing"))]
 pub mod testing;
 pub mod thread;
 #[cfg(feature = "trace")]