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

package info (click to toggle)
rust-httparse 1.10.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 548 kB
  • sloc: makefile: 2
file content (12 lines) | stat: -rw-r--r-- 319 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/lib.rs b/src/lib.rs
index 06bc4df..eed40f8 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -2146,6 +2146,7 @@ mod tests {
     }
 
     #[test]
+    #[cfg(feature = "std")]
     #[cfg_attr(miri, ignore)] // Miri is too slow for this test
     fn test_all_utf8_char_in_paths() {
         // two code points