Skip to content

rustbuild: fix dist in debug mode - #45382

Merged
bors merged 1 commit into
rust-lang:masterfrom
Keruspe:master
Oct 19, 2017
Merged

rustbuild: fix dist in debug mode#45382
bors merged 1 commit into
rust-lang:masterfrom
Keruspe:master

Conversation

@Keruspe

@KeruspeKeruspe commented Oct 19, 2017

Copy link
Copy Markdown
Contributor

In debug mode, the artifacts are placed in "debug", so don't hardcode "release" and use our helper to get the right directory name

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
@kennytmkennytm added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 19, 2017
@Mark-Simulacrum

Copy link
Copy Markdown
Member

However, I will note that distributing a debug compiler is almost certainly not what you want to do, since it will be very slow (10x or more, last I heard).

@bors r+ rollup

@bors

bors commented Oct 19, 2017

Copy link
Copy Markdown
Collaborator

📌 Commit 27cc119 has been approved by Mark-Simulacrum

@kennytmkennytm 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 Oct 19, 2017
@Keruspe

Copy link
Copy Markdown
ContributorAuthor

Would definitely not recommend that for production, but useful to get nice stacks in case of a segfault

@Mark-Simulacrum

Copy link
Copy Markdown
Member

To an extent, though usually not worth it. rustc, thankfully, rarely segfaults.

@kennytmkennytm mentioned this pull request Oct 19, 2017
kennytm added a commit to kennytm/rust that referenced this pull request Oct 19, 2017
rustbuild: fix dist in debug mode
In debug mode, the artifacts are placed in "debug", so don't hardcode "release" and use our helper to get the right directory name
bors added a commit that referenced this pull request Oct 19, 2017
Rollup of 8 pull requests
- Successful merges: #45343, #45349, #45352, #45374, #45375, #45376, #45377, #45382
- Failed merges:
@bors
bors merged commit 27cc119 into rust-lang:masterOct 19, 2017
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@Keruspe@Mark-Simulacrum@bors@kennytm