File: add-cap-tempfile-as-dependency.patch

package info (click to toggle)
rust-cap-primitives 3.4.4-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 992 kB
  • sloc: makefile: 5
file content (16 lines) | stat: -rw-r--r-- 375 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: add missing cap-tempfile import
Author: Ananthu C V <weepingclown@disroot.org>
Last-Update: 2024-11-02

--- a/src/fs/read_link.rs
+++ b/src/fs/read_link.rs
@@ -92,2 +92,3 @@
 fn test_read_link_contents() {
+    use cap_tempfile;
     use io_lifetimes::AsFilelike;
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -67,2 +67,3 @@
 [dev-dependencies]
+cap-tempfile = "3.4.1"