File: fix-tests-no-default-features.patch

package info (click to toggle)
rust-anstream 0.6.20-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 332 kB
  • sloc: makefile: 2
file content (14 lines) | stat: -rw-r--r-- 565 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Index: anstream/examples/dump-stream.rs
===================================================================
--- anstream.orig/examples/dump-stream.rs
+++ anstream/examples/dump-stream.rs
@@ -1,1 +1,2 @@
+#![cfg(feature = "auto")]
 //! Write colored text, adapting to the terminals capabilities
Index: anstream/examples/query-stream.rs
===================================================================
--- anstream.orig/examples/query-stream.rs
+++ anstream/examples/query-stream.rs
@@ -1,1 +1,2 @@
+#![cfg(feature = "auto")]
 //! Report a terminal's capabilities