26 lines
610 B
TOML
26 lines
610 B
TOML
[package]
|
|
authors = ["The Rust Project Developers"]
|
|
name = "rustc-main"
|
|
version = "0.0.0"
|
|
edition = '2018'
|
|
|
|
[[bin]]
|
|
name = "rustc_binary"
|
|
path = "rustc.rs"
|
|
|
|
[dependencies]
|
|
rustc_driver = { path = "../librustc_driver" }
|
|
|
|
# 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']
|
|
llvm = ['rustc_driver/llvm']
|