File: drop-trybuild-tests.patch

package info (click to toggle)
rust-crokey 1.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 268 kB
  • sloc: makefile: 2
file content (28 lines) | stat: -rw-r--r-- 770 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Description: drop trybuild dependency and tests that use it
 trybuild compiles crokey, fetching upstream crates. Adn it
 does not seem to respect setting .cargo/config.toml, thanks
 to which patching crates.io source to debian cargo registry
 does not work.
Author: Ananthu C V <weepingclown@disroot.org>
Forwarded: not-needed
Last-Update: 2024-06-28
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -66,4 +66 @@ version = "0.2"
 version = "2"
-
-[dev-dependencies.trybuild]
-version = "1.0.55"
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -351,6 +351,6 @@ mod tests {
 
-    #[test]
-    fn ui() {
-        trybuild::TestCases::new().compile_fail("tests/ui/*.rs");
-    }
+    // #[test]
+    // fn ui() {
+    //     trybuild::TestCases::new().compile_fail("tests/ui/*.rs");
+    // }
 }