Skip to content

Rollup of 8 pull requests - #64966

Closed
tmandry wants to merge 40 commits into
rust-lang:masterfrom
tmandry:rollup-yw4z9xs
Closed

Rollup of 8 pull requests#64966
tmandry wants to merge 40 commits into
rust-lang:masterfrom
tmandry:rollup-yw4z9xs

Conversation

@tmandry

Copy link
Copy Markdown
Member

Successful merges:

Failed merges:

r? @ghost

RalfJungand others added 30 commits August 9, 2019 19:33
We're not quite ready to ship parallel compilers by default, but the alt
builders are not used too much (in theory), so we believe that shipping
a possibly-broken compiler there is not too problematic.
This changes the default parallelism for parallel compilers to one,
instead of the previous default, which was "num cpus". This is likely
not an optimal default long-term, but it is a good default for testing
whether parallel compilers are not a significant regression over a
sequential compiler.
Notably, this in theory makes a parallel-enabled compiler behave
exactly like a sequential compiler with respect to the jobserver.
alexcrichtonand others added 10 commits October 1, 2019 06:11
…xcrichton
Make all alt builders produce parallel-enabled compilers
We're not quite ready to ship parallel compilers by default, but the alt
builders are not used too much (in theory), so we believe that shipping
a possibly-broken compiler there is not too problematic.
r? @nikomatsakis
BTreeSet intersection, is_subset & difference optimizations
...based on the range of values contained; in particular, a massive improvement when these ranges are disjoint (or merely touching), like in the neg-vs-pos benchmarks already in liballoc. Inspired by rust-lang#64383 but none of the ideas there worked out.
I introduced another variant in IntersectionInner and in DifferenceInner, because I couldn't find a way to initialize these iterators as empty if there's no empty set around.
Also, reduced the size of "large" sets in test cases - if Miri can't handle it, it was needlessly slowing down everyone.
…i-refactor, r=wesleywiser
SelfProfiler API refactoring and part one of event review
This PR refactors the `SelfProfiler` a little bit so that most profiling methods are RAII-based. The codegen backend code already had something similar, this refactoring pulls this functionality up into `SelfProfiler` itself, for general use.
The second commit of this PR is a review and update of the existing events we are already recording. Names have been made more consistent. CGU names have been removed from event names. They will be added back in when function parameter recording is implemented.
There is still some work to be done for adding new events, especially around trait resolution and the incremental system.
r? @wesleywiser
syntax: cleanup param, method, and misc parsing
Do some misc cleanup of the parser:
- Method and parameter parsing is refactored.
- A parser for `const | mut` is introduced that rust-lang#64588 can reuse.
- Some other misc parsing.
Next up in a different PR:
- ~Implementing rust-lang#64252 -- maybe some other time...
- Heavily restructuring up `item.rs` which is a mess (hopefully, no promises ^^).
r? @petrochenkov
@tmandry

Copy link
Copy Markdown
MemberAuthor

@bors r+ p=8 rollup=never

@bors

bors commented Oct 1, 2019

Copy link
Copy Markdown
Collaborator

📌 Commit f38b393 has been approved by tmandry

@borsbors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Oct 1, 2019
@bors

bors commented Oct 1, 2019

Copy link
Copy Markdown
Collaborator

⌛ Testing commit f38b393 with merge 52f5edf48dd086f207437cd01a96c4bfd893b580...

@tmandrytmandry mentioned this pull request Oct 1, 2019
@bors

bors commented Oct 1, 2019

Copy link
Copy Markdown
Collaborator

💔 Test failed - checks-azure

@borsbors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Oct 1, 2019
@Centril

Copy link
Copy Markdown
Contributor

Either the Alt PR or Cargo was the cause of the failure I think.

@CentrilCentril closed this Oct 1, 2019
@tmandry

Copy link
Copy Markdown
MemberAuthor

Either the Alt PR or Cargo was the cause of the failure I think.

From the logs, I think it was Cargo.

@tmandrytmandry mentioned this pull request Oct 1, 2019
@tmandry
tmandry deleted the rollup-yw4z9xs branch October 1, 2019 22:06
@CentrilCentril added the rollup A PR which is a rollup label Oct 24, 2019
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rollupA PR which is a rollupS-waiting-on-reviewStatus: Awaiting review from the assignee but also interested parties.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Suggested fix does not account for operator precedence

10 participants

@tmandry@bors@Centril@RalfJung@Mark-Simulacrum@michaelwoerister@sam09@tesuji@alexcrichton@ssomers