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

Rollup of 4 pull requests #41294

Merged
merged 21 commits into from
Apr 14, 2017
Merged

Rollup of 4 pull requests #41294

merged 21 commits into from
Apr 14, 2017

Conversation

arielb1 and others added 21 commits April 13, 2017 21:27
The book and the reference have both had changes lately; this integrates
them upstream.
No good reason for them to be in there.
These do some low-level munging on the LLVM data structures. Unclear
that they need to operate as a "second pass" but leave it for now.
A number of things were using `crate_hash` that really ought to be using
`crate_disambiguator` (e.g., to create the plugin symbol names). They
have been updated.

It is important to remove `LinkMeta` from `SharedCrateContext` since it
contains a hash of the entire crate, and hence it will change
whenever **anything** changes (which would then require
rebuilding **everything**).
shared mutable state is bad
Its going to be forbidden, see issue 41255.
…ikomatsakis

rustc_typeck: consolidate adjustment composition

Instead of having `write_adjustment` overwrite the previous adjustment, have `apply_adjustment` compose a new adjustment on top of the previous one. This is important because `NeverToAny` adjustments can be present on expressions during coercion.

Fixes rust-lang#41213.

r? @nikomatsakis
…guillaumegomez

bump book repos

Not ready to merge yet; I'd like to see what tidy says.
…ns, r=eddyb

Miscellneous refactorings of trans

This doesn't achieve any particular goal yet, but it's a collection of refactorings with the common goal of turning `SharedCrateContext` etc into stuff that we can use with on-demand and actually expect to hash in a stable fashion for incremental. Not there yet, clearly.

r? @eddyb
cc @michaelwoerister
Avoid to use floating point match

Its going to be forbidden, see issue rust-lang#41255.
@rust-highfive
Copy link
Collaborator

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @pnkfelix (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@frewsxcv
Copy link
Member Author

@bors r+ p=10

@bors
Copy link
Contributor

bors commented Apr 14, 2017

📌 Commit c04ae0f has been approved by frewsxcv

@bors
Copy link
Contributor

bors commented Apr 14, 2017

⌛ Testing commit c04ae0f with merge 4f32e0d...

bors added a commit that referenced this pull request Apr 14, 2017
Rollup of 4 pull requests

- Successful merges: #41279, #41281, #41287, #41292
- Failed merges:
@frewsxcv frewsxcv 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-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Apr 14, 2017
@bors
Copy link
Contributor

bors commented Apr 14, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: frewsxcv
Pushing 4f32e0d to master...

@bors bors merged commit c04ae0f into rust-lang:master Apr 14, 2017
@Centril Centril added the rollup A PR which is a rollup label Oct 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rollup A PR which is a rollup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants