rustc/debian/patches/d-no-jemalloc.patch
2019-05-25 01:21:09 -07:00

17 lines
601 B
Diff

Index: rustc/src/rustc/Cargo.toml
===================================================================
--- rustc.orig/src/rustc/Cargo.toml
+++ rustc/src/rustc/Cargo.toml
@@ -15,11 +15,3 @@ rustc_driver = { path = "../librustc_dri
# Make sure rustc_codegen_ssa ends up in the sysroot, because this
# crate is intended to be used by codegen backends, which may not be in-tree.
rustc_codegen_ssa = { path = "../librustc_codegen_ssa" }
-
-[dependencies.jemalloc-sys]
-version = '0.3.0'
-optional = true
-features = ['unprefixed_malloc_on_supported_platforms']
-
-[features]
-jemalloc = ['jemalloc-sys']