File: drop-rustc-dep-of-std-feature.patch

package info (click to toggle)
rust-libc 0.2.175-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,900 kB
  • sloc: makefile: 4
file content (26 lines) | stat: -rw-r--r-- 580 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
Index: libc/Cargo.toml
===================================================================
--- libc.orig/Cargo.toml
+++ libc/Cargo.toml
@@ -164,10 +164,6 @@ align = []
 const-extern-fn = []
 default = ["std"]
 extra_traits = []
-rustc-dep-of-std = [
-    "align",
-    "rustc-std-workspace-core",
-]
 std = []
 use_std = ["std"]
 
@@ -179,10 +175,6 @@ path = "src/lib.rs"
 name = "const_fn"
 path = "tests/const_fn.rs"
 
-[dependencies.rustc-std-workspace-core]
-version = "1.0.1"
-optional = true
-
 [lints.clippy]
 expl_impl_clone_on_copy = "allow"
 explicit_iter_loop = "warn"