-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove build_helper #94480
Remove build_helper #94480
Conversation
r? @lcnr (rust-highfive has picked a reviewer for you, use r? to override) |
lgtm, never interacting with this code before, so maybe for final signoff |
r=me with nit fixed |
@bors r=Mark-Simulacrum |
📌 Commit b8a047cd622f63b881fb2df7c479bf00faaf2abf has been approved by |
☔ The latest upstream changes (presumably #94588) made this pull request unmergeable. Please resolve the merge conflicts. |
Rebased @bors r=Mark-Simulacrum |
📌 Commit 3b26b91 has been approved by |
…lacrum 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.
@bors r- |
☔ The latest upstream changes (presumably #94298) made this pull request unmergeable. Please resolve the merge conflicts. |
Fixed and rebased. |
r=me squashed in (2 commits is good) |
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.
Squashed @bors r=Mark-Simulacrum |
📌 Commit e657da7 has been approved by |
☀️ Test successful - checks-actions |
Finished benchmarking commit (379e94f): comparison url. Summary: This benchmark run did not return any relevant results. If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression |
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.