-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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 6 pull requests #74530
Rollup of 6 pull requests #74530
Commits on Jun 24, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 249e07b - Browse repository at this point
Copy the full SHA 249e07bView commit details
Commits on Jul 19, 2020
-
Configuration menu - View commit details
-
Copy full SHA for b7bf3c8 - Browse repository at this point
Copy the full SHA b7bf3c8View commit details -
Fix panic message when
RangeFrom
index is out of boundsBefore, 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.
Configuration menu - View commit details
-
Copy full SHA for ce33804 - Browse repository at this point
Copy the full SHA ce33804View commit details -
Co-authored-by: Joshua Nelson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a459fc4 - Browse repository at this point
Copy the full SHA a459fc4View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea74e7d - Browse repository at this point
Copy the full SHA ea74e7dView commit details -
We were setting these in both Builder::cargo and here, which ended up only setting the first of the two.
Configuration menu - View commit details
-
Copy full SHA for be43319 - Browse repository at this point
Copy the full SHA be43319View commit details -
Configuration menu - View commit details
-
Copy full SHA for a462e7c - Browse repository at this point
Copy the full SHA a462e7cView commit details -
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 ```
Configuration menu - View commit details
-
Copy full SHA for 57614da - Browse repository at this point
Copy the full SHA 57614daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7dba34f - Browse repository at this point
Copy the full SHA 7dba34fView commit details -
Rollup merge of rust-lang#73618 - poliorcetics:false-keyword, r=jyn514
Documentation for the false keyword Partial fix of rust-lang#34601. Short documentation for the false keyword mainly pointing to the `true` keyword.
Configuration menu - View commit details
-
Copy full SHA for bbd91d7 - Browse repository at this point
Copy the full SHA bbd91d7View commit details -
Rollup merge of rust-lang#74495 - shepmaster:bootstrap-dist-target-fi…
…les, r=Mark-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
Configuration menu - View commit details
-
Copy full SHA for 59617e4 - Browse repository at this point
Copy the full SHA 59617e4View commit details -
Rollup merge of rust-lang#74510 - LukasKalbertodt:fix-range-from-inde…
…x-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).
Configuration menu - View commit details
-
Copy full SHA for 89b814c - Browse repository at this point
Copy the full SHA 89b814cView commit details -
Rollup merge of rust-lang#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 rust-lang#74511
Configuration menu - View commit details
-
Copy full SHA for 247ee15 - Browse repository at this point
Copy the full SHA 247ee15View commit details -
Rollup merge of rust-lang#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.
Configuration menu - View commit details
-
Copy full SHA for f72c304 - Browse repository at this point
Copy the full SHA f72c304View commit details -
Rollup merge of rust-lang#74527 - calebcartwright:rustfmt-toolstate-m…
…aintainers, 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.
Configuration menu - View commit details
-
Copy full SHA for ada334b - Browse repository at this point
Copy the full SHA ada334bView commit details