-
Notifications
You must be signed in to change notification settings - Fork 12.3k
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 21 pull requests #53798
Rollup of 21 pull requests #53798
Commits on Aug 6, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 931eb4c - Browse repository at this point
Copy the full SHA 931eb4cView commit details
Commits on Aug 15, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 9a3a12e - Browse repository at this point
Copy the full SHA 9a3a12eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 34b65db - Browse repository at this point
Copy the full SHA 34b65dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5bfb785 - Browse repository at this point
Copy the full SHA 5bfb785View commit details
Commits on Aug 20, 2018
-
Force-inline
shallow_resolve
at its hottest call site.It's a ~1% win on `keccak` and `inflate`.
Configuration menu - View commit details
-
Copy full SHA for b73843f - Browse repository at this point
Copy the full SHA b73843fView commit details
Commits on Aug 21, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 3995bff - Browse repository at this point
Copy the full SHA 3995bffView commit details
Commits on Aug 25, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 9395a02 - Browse repository at this point
Copy the full SHA 9395a02View commit details
Commits on Aug 26, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 1f421d6 - Browse repository at this point
Copy the full SHA 1f421d6View commit details -
Reduce number of syscalls in
rand
In case that it is statically known that the OS doesn't support `getrandom` (non-Linux) or becomes clear at runtime that `getrandom` isn't available (`ENOSYS`), the opened fd ("/dev/urandom") isn't closed after the function, so that future calls can reuse it. This saves repeated `open`/`close` system calls at the cost of one permanently open fd. Additionally, this skips the initial zero-length `getrandom` call and directly hands the user buffer to the operating system, saving one `getrandom` syscall.
Configuration menu - View commit details
-
Copy full SHA for 09a615c - Browse repository at this point
Copy the full SHA 09a615cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 26f38c0 - Browse repository at this point
Copy the full SHA 26f38c0View commit details
Commits on Aug 27, 2018
-
Configuration menu - View commit details
-
Copy full SHA for a2722f3 - Browse repository at this point
Copy the full SHA a2722f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4570ace - Browse repository at this point
Copy the full SHA 4570aceView commit details -
Configuration menu - View commit details
-
Copy full SHA for c874e36 - Browse repository at this point
Copy the full SHA c874e36View commit details -
fix a typo: taget_env -> target_env
This typo was introduced in rust-lang#47334. A couple tests bitrotted as a result, so we fix those too, and move them to a more sensible place.
Configuration menu - View commit details
-
Copy full SHA for 8486efa - Browse repository at this point
Copy the full SHA 8486efaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d79d8b - Browse repository at this point
Copy the full SHA 1d79d8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 04b4c40 - Browse repository at this point
Copy the full SHA 04b4c40View commit details -
Configuration menu - View commit details
-
Copy full SHA for f77ad5c - Browse repository at this point
Copy the full SHA f77ad5cView commit details
Commits on Aug 28, 2018
-
Configuration menu - View commit details
-
Copy full SHA for e6dcdee - Browse repository at this point
Copy the full SHA e6dcdeeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 31b63d0 - Browse repository at this point
Copy the full SHA 31b63d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1311339 - Browse repository at this point
Copy the full SHA 1311339View commit details -
Configuration menu - View commit details
-
Copy full SHA for 84796cb - Browse repository at this point
Copy the full SHA 84796cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 93f3f5b - Browse repository at this point
Copy the full SHA 93f3f5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6628d39 - Browse repository at this point
Copy the full SHA 6628d39View commit details -
Configuration menu - View commit details
-
Copy full SHA for da4febd - Browse repository at this point
Copy the full SHA da4febdView commit details
Commits on Aug 29, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 6d47737 - Browse repository at this point
Copy the full SHA 6d47737View commit details -
Configuration menu - View commit details
-
Copy full SHA for 890d04d - Browse repository at this point
Copy the full SHA 890d04dView commit details -
Replace usages of 'bad_style' with 'nonstandard_style'.
`bad_style` is being deprecated in favor of `nonstandard_style`: - rust-lang#41646
Configuration menu - View commit details
-
Copy full SHA for e477a13 - Browse repository at this point
Copy the full SHA e477a13View commit details -
Generalize
async_idents
to all new keywordsThis commit generalizes the existing `async_idents` lint to easily encompass other identifiers that will be keywords in future editions. The new lint is called `keyword_idents` and the old `async_idents` lint is registered as renamed to this new lint. As a proof of concept the `try` keyword was added to this list as it looks to be listed as a keyword in the 2018 edition only. The `await` keyword was not added as it's not listed as a keyword yet. Closes rust-lang#53077
Configuration menu - View commit details
-
Copy full SHA for 003cab2 - Browse repository at this point
Copy the full SHA 003cab2View commit details -
Rollup merge of rust-lang#51760 - GuillaumeGomez:add-another-partiale…
…q-example, r=QuietMisdreavus Add another PartialEq example r? @steveklabnik
Configuration menu - View commit details
-
Copy full SHA for 2deda32 - Browse repository at this point
Copy the full SHA 2deda32View commit details -
Rollup merge of rust-lang#53113 - kpp:more_docs_for_cow, r=GuillaumeG…
…omez Add example for Cow Add one more example that shows how to keep `Cow` in a struct. Link to playground: https://play.rust-lang.org/?gist=a9256bdd034b44bc3cdd0044bbcdbb7c&version=stable&mode=debug&edition=2015 Users ask this question in [ruRust](https://gitter.im/ruRust/general) chat time to time and it is not obvious to add `ToOwned<Owned=Target>` to requirements of generic params.
Configuration menu - View commit details
-
Copy full SHA for 8b35394 - Browse repository at this point
Copy the full SHA 8b35394View commit details -
Rollup merge of rust-lang#53129 - nikomatsakis:issue-51172-tweak-test…
…, r=pnkfelix remove `let x = baz` which was obscuring the real error fixes rust-lang#51172
Configuration menu - View commit details
-
Copy full SHA for 94dbcfa - Browse repository at this point
Copy the full SHA 94dbcfaView commit details -
Rollup merge of rust-lang#53389 - RalfJung:thread-join, r=sfackler
document effect of join on memory ordering Fixes rust-lang#45467
Configuration menu - View commit details
-
Copy full SHA for 474cda8 - Browse repository at this point
Copy the full SHA 474cda8View commit details -
Rollup merge of rust-lang#53472 - eddyb:fx-pls, r=pnkfelix
Use FxHash{Map,Set} instead of the default Hash{Map,Set} everywhere in rustc. Most of the compiler uses the `Fx` hasher but some places ended up with the default one.
Configuration menu - View commit details
-
Copy full SHA for 64ff1e5 - Browse repository at this point
Copy the full SHA 64ff1e5View commit details -
Rollup merge of rust-lang#53476 - GuillaumeGomez:try-from-int-error-p…
…artial-eq, r=KodrAus Add partialeq implementation for TryFromIntError type Fixes rust-lang#53458.
Configuration menu - View commit details
-
Copy full SHA for dbf633f - Browse repository at this point
Copy the full SHA dbf633fView commit details -
Rollup merge of rust-lang#53513 - nnethercote:inline-shallow_resolve,…
… r=varkor Force-inline `shallow_resolve` at its hottest call site. It's a ~1% win on `keccak` and `inflate`.
Configuration menu - View commit details
-
Copy full SHA for 0516314 - Browse repository at this point
Copy the full SHA 0516314View commit details -
Rollup merge of rust-lang#53655 - jcpst:with_applicability, r=estebank
set applicability Update a few more calls as described in rust-lang#50723 r? @estebank
Configuration menu - View commit details
-
Copy full SHA for bcd6880 - Browse repository at this point
Copy the full SHA bcd6880View commit details -
Rollup merge of rust-lang#53685 - alexcrichton:more-keywords, r=varkor
Generalize `async_idents` to all new keywords This commit generalizes the existing `async_idents` lint to easily encompass other identifiers that will be keywords in future editions. The new lint is called `keyword_idents` and the old `async_idents` lint is registered as renamed to this new lint. As a proof of concept the `try` keyword was added to this list as it looks to be listed as a keyword in the 2018 edition only. The `await` keyword was not added as it's not listed as a keyword yet. Closes rust-lang#53077
Configuration menu - View commit details
-
Copy full SHA for b917b7b - Browse repository at this point
Copy the full SHA b917b7bView commit details -
Rollup merge of rust-lang#53702 - jkozlowski:correct_version_for_macr…
…o_vis_matcher, r=cramertj Fix stabilisation version for macro_vis_matcher. r? @cramertj
Configuration menu - View commit details
-
Copy full SHA for a22c6e4 - Browse repository at this point
Copy the full SHA a22c6e4View commit details -
Rollup merge of rust-lang#53725 - tbu-:pr_getrandom_syscalls, r=alexc…
…richton Reduce number of syscalls in `rand` This skips the initial zero-length `getrandom` call and directly hands the user buffer to the operating system, saving one `getrandom` syscall.
Configuration menu - View commit details
-
Copy full SHA for b18ecbd - Browse repository at this point
Copy the full SHA b18ecbdView commit details -
Rollup merge of rust-lang#53727 - estebank:incorrect-deref-suggestion…
…, r=nikomatsakis Do not suggest dereferencing in macro Fix rust-lang#52783.
Configuration menu - View commit details
-
Copy full SHA for 491c4bb - Browse repository at this point
Copy the full SHA 491c4bbView commit details -
Rollup merge of rust-lang#53732 - emilio:foreign-fn, r=nrc
save-analysis: Differentiate foreign functions and statics.
Configuration menu - View commit details
-
Copy full SHA for ef9a675 - Browse repository at this point
Copy the full SHA ef9a675View commit details -
Rollup merge of rust-lang#53740 - japaric:readobj, r=alexcrichton
add llvm-readobj to llvm-tools-preview Similar to readelf but supports more object formats (it seems). Particularly useful to inspect in detail sections (e.g. their flags) and symbols (e.g. their types). r? @alexcrichton cc @dvc94ch
Configuration menu - View commit details
-
Copy full SHA for 3848009 - Browse repository at this point
Copy the full SHA 3848009View commit details -
Rollup merge of rust-lang#53743 - oconnor663:target_env, r=kennytm
fix a typo: taget_env -> target_env This typo was introduced in rust-lang#47334. A couple tests bitrotted as a result, so we fix those too, and move them to a more sensible place. Is there some lint we could turn on that would've caught this? It's a drag that cfg typos can silently pass through the compiler.
Configuration menu - View commit details
-
Copy full SHA for 3062a0c - Browse repository at this point
Copy the full SHA 3062a0cView commit details -
Rollup merge of rust-lang#53747 - GuillaumeGomez:rustdoc-fixes, r=Qui…
…etMisdreavus Rustdoc fixes Fixes rustdoc not scrolling to given lines and invalid unstable display: <img width="1440" alt="screen shot 2018-08-27 at 23 28 47" src="https://user-images.githubusercontent.com/3050060/44687252-06535e80-aa51-11e8-8512-d7d34d1cb963.png"> r? @QuietMisdreavus
Configuration menu - View commit details
-
Copy full SHA for 8b119b9 - Browse repository at this point
Copy the full SHA 8b119b9View commit details -
Rollup merge of rust-lang#53753 - RalfJung:keep-stage, r=nikomatsakis
expand keep-stage --help text
Configuration menu - View commit details
-
Copy full SHA for e02e048 - Browse repository at this point
Copy the full SHA e02e048View commit details -
Rollup merge of rust-lang#53756 - dmerejkowsky:fix-comment, r=KodrAus
Fix typo in comment
Configuration menu - View commit details
-
Copy full SHA for c308206 - Browse repository at this point
Copy the full SHA c308206View commit details -
Rollup merge of rust-lang#53768 - RalfJung:gitignore, r=nikomatsakis
move file-extension based .gitignore down to src/ Currently, it for example ignores `*.rlib` files in the repository root -- which I think is wrong; I sometimes get these files when I call rustc directly and I do want them cleaned up, not ignored. No such files are created during the normal build process.
Configuration menu - View commit details
-
Copy full SHA for ad115fc - Browse repository at this point
Copy the full SHA ad115fcView commit details -
Rollup merge of rust-lang#53785 - tbu-:pr_comment, r=Mark-Simulacrum
Fix a comment in src/libcore/slice/mod.rs
Configuration menu - View commit details
-
Copy full SHA for b5c3f58 - Browse repository at this point
Copy the full SHA b5c3f58View commit details -
Rollup merge of rust-lang#53786 - frewsxcv:frewsxcv-bad-style, r=Mani…
…shearth Replace usages of 'bad_style' with 'nonstandard_style'. `bad_style` is being deprecated in favor of `nonstandard_style`: - rust-lang#41646
Configuration menu - View commit details
-
Copy full SHA for 31a6f9f - Browse repository at this point
Copy the full SHA 31a6f9fView commit details