Skip to content
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

Skip dsymutil by default for compiler bootstrap #80213

Merged
merged 1 commit into from
Dec 20, 2020

Conversation

jryans
Copy link
Contributor

@jryans jryans commented Dec 20, 2020

dsymutil adds time to builds on Apple platforms for no clear benefit, and also makes it more difficult for debuggers to find debug info (which @pnkfelix highlighted on Zulip). The compiler currently defaults to running dsymutil to preserve its historical default, but when compiling the compiler itself, we skip it by default since we know it's safe to do so in that case.

r? @nagisa

`dsymutil` adds time to builds on Apple platforms for no clear benefit, and also
makes it more difficult for debuggers to find debug info. The compiler currently
defaults to running `dsymutil` to preserve its historical default, but when
compiling the compiler itself, we skip it by default since we know it's safe to
do so in that case.
@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Dec 20, 2020
@jyn514 jyn514 added T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) A-contributor-roadblock Area: Makes things more difficult for new contributors to rust itself A-linkage Area: linking into static, shared libraries and binaries labels Dec 20, 2020
@nagisa
Copy link
Member

nagisa commented Dec 20, 2020

@bors r+

cc @alexcrichton (this affects to an extent the stabilization PR of yours)

@bors
Copy link
Contributor

bors commented Dec 20, 2020

📌 Commit e628fcf has been approved by nagisa

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Dec 20, 2020
@Mark-Simulacrum
Copy link
Member

We should also look at doing the same in compiletest (possibly modulo the debugger tests?).

@bors rollup=never for better bisection

@bors
Copy link
Contributor

bors commented Dec 20, 2020

⌛ Testing commit e628fcf with merge 2ad5292...

@bors
Copy link
Contributor

bors commented Dec 20, 2020

☀️ Test successful - checks-actions
Approved by: nagisa
Pushing 2ad5292 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Dec 20, 2020
@bors bors merged commit 2ad5292 into rust-lang:master Dec 20, 2020
@rustbot rustbot added this to the 1.50.0 milestone Dec 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-contributor-roadblock Area: Makes things more difficult for new contributors to rust itself A-linkage Area: linking into static, shared libraries and binaries merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants