mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-11 08:05:12 +00:00
0cfc3e1016
The majority of the code is only used by either rustbuild or rustc_llvm's build script. Rust_build is compiled once for rustbuild and once for every stage. This means that the majority of the code in this crate is needlessly compiled multiple times. By moving only the code actually used by the respective crates to rustbuild and rustc_llvm's build script, this needless duplicate compilation is avoided.
15 lines
183 B
TOML
15 lines
183 B
TOML
[package]
|
|
name = "rustc_llvm"
|
|
version = "0.0.0"
|
|
edition = "2021"
|
|
|
|
[features]
|
|
static-libstdcpp = []
|
|
emscripten = []
|
|
|
|
[dependencies]
|
|
libc = "0.2.73"
|
|
|
|
[build-dependencies]
|
|
cc = "1.0.69"
|