Remove build_helper

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.
This commit is contained in:
bjorn3
2022-02-24 13:30:50 +01:00
parent c8a49fc902
commit 0cfc3e1016
27 changed files with 95 additions and 115 deletions

View File

@@ -11,5 +11,4 @@ emscripten = []
libc = "0.2.73"
[build-dependencies]
build_helper = { path = "../../src/build_helper" }
cc = "1.0.69"