Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rust-lang/rust
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: Manishearth/rust
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: rollup-xa514az
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 7 commits
  • 9 files changed
  • 2 contributors

Commits on Jul 19, 2020

  1. Verified

    This commit was signed with the committer’s verified signature.
    LukasKalbertodt Lukas Kalbertodt
    Copy the full SHA
    ea74e7d View commit details
  2. Rollup merge of #73618 - poliorcetics:false-keyword, r=jyn514

    Documentation for the false keyword
    
    Partial fix of #34601.
    
    Short documentation for the false keyword mainly pointing to the `true` keyword.
    Manishearth authored Jul 19, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    bbd91d7 View commit details
  3. Rollup merge of #74495 - shepmaster:bootstrap-dist-target-files, r=Ma…

    …rk-Simulacrum
    
    Teach bootstrap install and dist commands about TargetSelection
    
    With this, we can now use a target JSON file to build a
    cross-compiler:
    
    ```
    x.py install --host ../aarch64-apple-darwin.json --target aarch64-apple-darwin
    ```
    
    r? @Mark-Simulacrum
    Manishearth authored Jul 19, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    59617e4 View commit details
  4. Rollup merge of #74510 - LukasKalbertodt:fix-range-from-index-panic, …

    …r=hanna-kruppe
    
    Fix panic message when `RangeFrom` index is out of bounds
    
    Before, the `Range` method was called with `end = slice.len()`. Unfortunately, because `Range::index` first checks the order of the indices (start has to be smaller than end), an out of bounds index leads to `core::slice::slice_index_order_fail` being called. This prints the message 'slice index starts at 27 but ends at 10', which is worse than 'index 27 out of range for slice of length 10'. This is not only useful to normal users reading panic messages, but also for people inspecting assembly and being confused by `slice_index_order_fail` calls.
    
    You can see the produced assembly [here](https://rust.godbolt.org/z/GzMGWf) and try on Playground [here](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=aada5996b2f3848075a6d02cf4055743). (By the way. this is only about which panic function is called; I'm pretty sure it does not improve anything about performance).
    Manishearth authored Jul 19, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    89b814c View commit details
  5. Rollup merge of #74514 - Mark-Simulacrum:nightly-rustc-docs, r=ollie27

    Do not clobber RUSTDOCFLAGS
    
    We were setting these in both Builder::cargo and here, which ended up only setting the first of the two.
    
    Fixes #74511
    Manishearth authored Jul 19, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    247ee15 View commit details
  6. Rollup merge of #74523 - sollyucko:patch-1, r=Mark-Simulacrum

    Improve documentation for `core::fmt` internals
    
    The public interface of `core::fmt` is well-documented, but the internals have very minimal documentation.
    Manishearth authored Jul 19, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    f72c304 View commit details
  7. Rollup merge of #74527 - calebcartwright:rustfmt-toolstate-maintainer…

    …s, r=Mark-Simulacrum
    
    Add myself to toolstate change notifications for rustfmt
    
    I'd like to get the toolstate change notifications for rustfmt as well so that I'll know when things break.
    
    Have spoken with @topecongiro about this offline already.
    Manishearth authored Jul 19, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    ada334b View commit details
Loading