-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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 8 pull requests #41121
Rollup of 8 pull requests #41121
Commits on Mar 31, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 2060266 - Browse repository at this point
Copy the full SHA 2060266View commit details
Commits on Apr 5, 2017
-
travis: Update musl for i686/x86_64
This is a random stab towards rust-lang#38618, no idea if it'll work. But hey more up-to-date software is better, right?
Configuration menu - View commit details
-
Copy full SHA for 631f761 - Browse repository at this point
Copy the full SHA 631f761View commit details -
Add example to std::process::abort
This is a second (2/3?) step in order to complete this issue: rust-lang#29370 I submitted this PR with the help of @steveklabnik again. Thanks to him! More info here: rust-lang#29370 (comment)
Configuration menu - View commit details
-
Copy full SHA for 4e1147f - Browse repository at this point
Copy the full SHA 4e1147fView commit details
Commits on Apr 6, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 16c77d7 - Browse repository at this point
Copy the full SHA 16c77d7View commit details -
don't try to blame tuple fields for immutability
Tuple fields don't have an `&T` in their declaration that can be changed to `&mut T` - skip them.. Fixes rust-lang#41104.
Configuration menu - View commit details
-
Copy full SHA for 95bd41e - Browse repository at this point
Copy the full SHA 95bd41eView commit details -
Fix Markdown issues in the docs
* Since the switch to pulldown-cmark reference links need a blank line before the URLs. * Reference link references are not case sensitive. * Doc comments need to be indented uniformly otherwise rustdoc gets confused.
Configuration menu - View commit details
-
Copy full SHA for b4be475 - Browse repository at this point
Copy the full SHA b4be475View commit details -
rustdoc: Use pulldown-cmark for Markdown HTML rendering
Instead of rendering all of the HTML in rustdoc this relies on pulldown-cmark's `push_html` to do most of the work. A few iterator adapters are used to make rustdoc specific modifications to the output. This also fixes MarkdownHtml and link titles in plain_summary_line.
Configuration menu - View commit details
-
Copy full SHA for f9fb381 - Browse repository at this point
Copy the full SHA f9fb381View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f93a78 - Browse repository at this point
Copy the full SHA 1f93a78View commit details -
Introduce HashStable trait and base ICH implementations on it.
This initial commit provides implementations for HIR, MIR, and everything that also needs to be supported for those two.
Configuration menu - View commit details
-
Copy full SHA for c47cdc0 - Browse repository at this point
Copy the full SHA c47cdc0View commit details -
Rollup merge of rust-lang#40878 - michaelwoerister:dmh, r=nikomatsakis
Introduce HashStable trait and base ICH implementations on it. This PR introduces the `HashStable` trait which marks that a type can be hashed in a way that is stable across multiple compilation sessions. The PR also moves HIR incr. comp. hashing over to implementations of this trait instead of doing this via a HIR visitor. It also provides many `HashStable` implementations that are not used yet (e.g. for MIR types) but soon will be used when we directly hash crate metadata for incr. comp. I've only done superficial performance measurements but it looks like the new implementation is a bit faster than the current one (due, I suppose, to some bugs I fixed and some unnecessary inefficiencies I removed). Here is the time in seconds for the `compute_incremental_hashes_map` pass for various crates: | | OLD | NEW | |:---------------:|:-----:|:-----:| | libcore | 0.507 | 0.409 | | libsyntax | 0.320 | 0.260 | | librustc | 0.730 | 0.611 | | librustc_driver | 0.024 | 0.015 | Some notes regarding the implementation: * Most `HashStable` implementations are provided via the `impl_hash_stable_for!` macro (as suggested by @nikomatsakis). This works out quite well. A custom_derive would have been better but Macros 1.1 are not available in the compiler. * The trait implementation take care to exhaustively destructure everything they hash so that fields added in the future don't fall through the cracks. This is a bit verbose but I think it's well worth the trouble since we've had quite a few issues with missing fields or visitor callbacks in this area in the past. Most of it is behind the macro anyway. cc @rust-lang/compiler r? @nikomatsakis
Configuration menu - View commit details
-
Copy full SHA for cce5c2d - Browse repository at this point
Copy the full SHA cce5c2dView commit details -
Rollup merge of rust-lang#40976 - matthewjasper:char-const-expr, r=eddyb
Don't warn about `char` comparisons in constexprs Fixes rust-lang#40970 by evaluating const-exprs for comparisons on `char`s properly.
Configuration menu - View commit details
-
Copy full SHA for 966878e - Browse repository at this point
Copy the full SHA 966878eView commit details -
Rollup merge of rust-lang#41089 - alexcrichton:update-musl, r=brson
travis: Update musl for i686/x86_64 This is a random stab towards rust-lang#38618, no idea if it'll work. But hey more up-to-date software is better, right?
Configuration menu - View commit details
-
Copy full SHA for 9516c80 - Browse repository at this point
Copy the full SHA 9516c80View commit details -
Rollup merge of rust-lang#41090 - rap2hpoutre:patch-2, r=steveklabnik
Add example to std::process::abort This is a second step in order to complete this issue: rust-lang#29370 I submitted this PR with the help of @steveklabnik again. Thanks to him! More info here: rust-lang#29370 (comment)
Configuration menu - View commit details
-
Copy full SHA for a750276 - Browse repository at this point
Copy the full SHA a750276View commit details -
Rollup merge of rust-lang#41108 - arielb1:tuple-blame, r=estebank
don't try to blame tuple fields for immutability Tuple fields don't have an `&T` in their declaration that can be changed to `&mut T` - skip them.. Fixes rust-lang#41104. r? @nikomatsakis
Configuration menu - View commit details
-
Copy full SHA for 30477a8 - Browse repository at this point
Copy the full SHA 30477a8View commit details -
Rollup merge of rust-lang#41111 - ollie27:docs_markdown_fix, r=Guilla…
…umeGomez Fix Markdown issues in the docs * Since the switch to pulldown-cmark reference links need a blank line before the URLs. (rust-lang#40912) * Reference link references are not case sensitive. * Doc comments need to be indented uniformly otherwise rustdoc gets confused.
Configuration menu - View commit details
-
Copy full SHA for 202be73 - Browse repository at this point
Copy the full SHA 202be73View commit details -
Rollup merge of rust-lang#41112 - ollie27:rustdoc_pull, r=GuillaumeGomez
rustdoc: Use pulldown-cmark for Markdown HTML rendering Instead of rendering all of the HTML in rustdoc this relies on pulldown-cmark's `push_html` to do most of the work. A few iterator adapters are used to make rustdoc specific modifications to the output. This also fixes MarkdownHtml and link titles in plain_summary_line. https://ollie27.github.io/rust_doc_test/ is the docs built with this change and rust-lang#41111. Part of rust-lang#40912. cc @GuillaumeGomez r? @steveklabnik
Configuration menu - View commit details
-
Copy full SHA for f129c0c - Browse repository at this point
Copy the full SHA f129c0cView commit details -
Rollup merge of rust-lang#41114 - nodakai:patch-2, r=petrochenkov
.gitmodules: use the official Git URL w/o redirect
Configuration menu - View commit details
-
Copy full SHA for 8af853b - Browse repository at this point
Copy the full SHA 8af853bView commit details