File: drop-alloc.diff

package info (click to toggle)
rust-rustix 1.0.8-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 3,332 kB
  • sloc: makefile: 2
file content (29 lines) | stat: -rw-r--r-- 787 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
29
Description: Drop alloc since rustc-std-worspace-alloc-dev isn't packaged
Author: John Goerzen <jgoerzen@complete.org>
Last-Update: 2023-10-08 by Peter Michael Green
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -122,7 +122,7 @@
 runtime = ["linux-raw-sys/prctl"]
 rustc-dep-of-std = [
     "core",
-    "rustc-std-workspace-alloc",
+#    "rustc-std-workspace-alloc",
     "linux-raw-sys/rustc-dep-of-std",
     "bitflags/rustc-dep-of-std",
 ]
@@ -164,9 +164,9 @@
 optional = true
 package = "rustc-std-workspace-core"
 
-[dependencies.rustc-std-workspace-alloc]
-version = "1.0.0"
-optional = true
+#[dependencies.rustc-std-workspace-alloc]
+#version = "1.0.0"
+#optional = true
 
 [dev-dependencies.flate2]
 version = "1.0"