summaryrefslogtreecommitdiffstats
path: root/vendor/hashbrown/debian
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/hashbrown/debian')
-rw-r--r--vendor/hashbrown/debian/patches/disable-alloc.diff22
-rw-r--r--vendor/hashbrown/debian/patches/series1
2 files changed, 23 insertions, 0 deletions
diff --git a/vendor/hashbrown/debian/patches/disable-alloc.diff b/vendor/hashbrown/debian/patches/disable-alloc.diff
new file mode 100644
index 0000000..2298d8c
--- /dev/null
+++ b/vendor/hashbrown/debian/patches/disable-alloc.diff
@@ -0,0 +1,22 @@
+--- hashbrown/Cargo.toml
++++ hashbrown/Cargo.toml
+@@ -48,11 +48,6 @@
+ optional = true
+ default-features = false
+
+-[dependencies.alloc]
+-version = "1.0.0"
+-optional = true
+-package = "rustc-std-workspace-alloc"
+-
+ [dependencies.bumpalo]
+ version = "3.5.0"
+ optional = true
+@@ -107,7 +102,6 @@
+ "nightly",
+ "core",
+ "compiler_builtins",
+- "alloc",
+ "rustc-internal-api",
+ ]
+ rustc-internal-api = []
diff --git a/vendor/hashbrown/debian/patches/series b/vendor/hashbrown/debian/patches/series
new file mode 100644
index 0000000..e961ca4
--- /dev/null
+++ b/vendor/hashbrown/debian/patches/series
@@ -0,0 +1 @@
+#disable-alloc.diff