]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_trans/Cargo.toml
rustc: Load the `rustc_trans` crate at runtime
[rust.git] / src / librustc_trans / Cargo.toml
index 79dd57b37f41fdead93d80145de0f452ab39cf42..14591de31ca96efb13651121530e7e4a79f3c41f 100644 (file)
@@ -13,6 +13,7 @@ test = false
 bitflags = "1.0"
 flate2 = "1.0"
 jobserver = "0.1.5"
+libc = "0.2"
 log = "0.4"
 num_cpus = "1.0"
 rustc = { path = "../librustc" }
@@ -36,3 +37,6 @@ tempdir = "0.3"
 
 [target."cfg(windows)".dependencies]
 cc = "1.0.1"
+
+[features]
+jemalloc = ["rustc_back/jemalloc"]