-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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 13 pull requests #100426
Rollup of 13 pull requests #100426
Commits on Jul 20, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5848c27 - Browse repository at this point
Copy the full SHA 5848c27View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d1c683 - Browse repository at this point
Copy the full SHA 2d1c683View commit details
Commits on Aug 3, 2022
-
Configuration menu - View commit details
-
Copy full SHA for a61c841 - Browse repository at this point
Copy the full SHA a61c841View commit details
Commits on Aug 6, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 725da87 - Browse repository at this point
Copy the full SHA 725da87View commit details
Commits on Aug 8, 2022
-
Add
x.sh
andx.ps1
shell scriptsThis is a more ambitious version of rust-lang#98716. It still changes the shebang back to python3, for compatibility with non-Unix systems, but also adds alternative entrypoints for systems without `python3` installed. These scripts will be necessary for the rust entrypoint (rust-lang#94829), so I see little downside in adding them early.
Configuration menu - View commit details
-
Copy full SHA for 775c3c0 - Browse repository at this point
Copy the full SHA 775c3c0View commit details
Commits on Aug 9, 2022
-
Move JSON tests into a directory.
To get around the "following path contains more than 968 entries, you should move the test to some relevant subdirectory" tidy error.
Configuration menu - View commit details
-
Copy full SHA for c32969d - Browse repository at this point
Copy the full SHA c32969dView commit details
Commits on Aug 10, 2022
-
rustdoc: simplify highlight.rs
Split render_with_highlighting, which took many optional parameters, into three functions for specific purposes, which each take a smaller number of mostly required parameters. Remove some plumbing to pass through an "edition" parameter, which was used solely to avoid highlighting some 2021 Edition keywords in non-2021 code.
Configuration menu - View commit details
-
Copy full SHA for 5938fd7 - Browse repository at this point
Copy the full SHA 5938fd7View commit details -
Configuration menu - View commit details
-
Copy full SHA for be5672e - Browse repository at this point
Copy the full SHA be5672eView commit details -
Improve crate selection on rustdoc search results page
Resolves all of issue rust-lang#93240 Reproduces a similar change as rust-lang#99086, but with improvements In particular, this PR inlcludes: * redesigning the crate-search selector so the background color matches its surroundings * decrease the font of the dropdown menu to a reaonable size * add a hover effect * make the color of the arrow theme-dependent, using a surrounding div, with :after pseudo-element that can then be transformed using CSS filters to approximate the desired color * fix the text "in" to match the title font * remove the "for xyz" in the "Results for xyz in [All crates]" title when searching for search term "xyz"; you can already see what you're searching for as it's typed in the search bar! * in line with rust-lang#99086, handle super-long crate names appropriately without a long <select> element escaping the screen area; the improvement is that we also keep the title within a single line now; uses some flex layout shenanigans... * the margins / paddings are adjusted so the selected label of the <select> fits within the rest of that title nicely; also some inconsistency in the way that Firefox renders a <select> with "appearance: none" (roughly 4px more padding left and right of the text than e.g. Chrome) is worked around, and it now produces a result that looks (essentially) identical to Chrome * the color of the help menu and settings menu border in light theme is made to match with the color of the corresponding buttons, like they do (match) in the ayu theme * the casing of "All crates" changes to "all crates" * the new tests from rust-lang#99086 are temporarily disabled, until they can be adapted later
Configuration menu - View commit details
-
Copy full SHA for 16bcc18 - Browse repository at this point
Copy the full SHA 16bcc18View commit details -
Fix oversight duplicate property left in CSS (dark theme). Improve wording in comment that mentions `appearance: none`
Configuration menu - View commit details
-
Copy full SHA for e957480 - Browse repository at this point
Copy the full SHA e957480View commit details -
Configuration menu - View commit details
-
Copy full SHA for 107e039 - Browse repository at this point
Copy the full SHA 107e039View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea05be2 - Browse repository at this point
Copy the full SHA ea05be2View commit details -
rustdoc: make item-infos dimmer on dark theme rust-lang#93896
Previously the item-info background colors were too bright for a dark theme, making a bright rectangle that draws the attention.
Configuration menu - View commit details
-
Copy full SHA for 20cc5f9 - Browse repository at this point
Copy the full SHA 20cc5f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 874ee5b - Browse repository at this point
Copy the full SHA 874ee5bView commit details -
Co-authored-by: Frank Steffahn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d1cace5 - Browse repository at this point
Copy the full SHA d1cace5View commit details -
Fix flags when using clang as linker for Fuchsia
Don't add C runtime or set dynamic linker when linking with clang for Fuchsia. Clang already does this for us.
Configuration menu - View commit details
-
Copy full SHA for 55d5dcb - Browse repository at this point
Copy the full SHA 55d5dcbView commit details
Commits on Aug 11, 2022
-
Simplify
rustc_hir::intravisit::Visitor::visit_variant_data
.It has four arguments that are never used. This avoids lots of argument passing in functions that feed into `visit_variant_data`.
Configuration menu - View commit details
-
Copy full SHA for 8c53038 - Browse repository at this point
Copy the full SHA 8c53038View commit details -
Simplify
rustc_ast::visit::Visitor::visit_enum_def
.It's passed three arguments that are never used.
Configuration menu - View commit details
-
Copy full SHA for 421125f - Browse repository at this point
Copy the full SHA 421125fView commit details -
Simplify
rustc_ast::visit::Visitor::visit_poly_trait_ref
.It is passed an argument that is never used.
Configuration menu - View commit details
-
Copy full SHA for 232bd80 - Browse repository at this point
Copy the full SHA 232bd80View commit details -
Simplify
rustc_hir::intravisit::Visitor::visit_enum_def
.It is passed an argument that is never used.
Configuration menu - View commit details
-
Copy full SHA for b8b851f - Browse repository at this point
Copy the full SHA b8b851fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ce78042 - Browse repository at this point
Copy the full SHA ce78042View commit details -
Co-authored-by: Nicholas Nethercote <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 338d7c2 - Browse repository at this point
Copy the full SHA 338d7c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 121fab0 - Browse repository at this point
Copy the full SHA 121fab0View commit details -
Rollup merge of rust-lang#93896 - jsha:dark-colors, r=GuillaumeGomez
rustdoc: make item-infos dimmer on dark theme Previously the item-info background colors were too bright for a dark theme, making a bright rectangle that draws the attention. Demo: https://rustdoc.crud.net/jsha/dark-colors/std/os/linux/process/struct.PidFd.html https://rustdoc.crud.net/jsha/dark-colors/std/error/trait.Error.html#method.description Before: <img width=300 src="https://user-images.githubusercontent.com/220205/153565049-f35ee83e-181d-491c-b2af-7cce1baa4912.png"> After: <img width=300 src="https://user-images.githubusercontent.com/220205/181166727-b4218e96-daf1-46cd-a2df-5fd870eaa857.png"> r? `@GuillaumeGomez`
Configuration menu - View commit details
-
Copy full SHA for 8bbb54a - Browse repository at this point
Copy the full SHA 8bbb54aView commit details -
Rollup merge of rust-lang#99337 - jsha:simplify-highlight, r=Guillaum…
…eGomez rustdoc: simplify highlight.rs Split render_with_highlighting, which took many optional parameters, into three functions for specific purposes, which each take a smaller number of mostly required parameters. Remove some plumbing to pass through an "edition" parameter, which was used solely to avoid highlighting some 2021 Edition keywords in non-2021 code. I've tested a build of std docs before and after, and this does not change the generated HTML at all. Followup from rust-lang#91264 (comment) r? ```@GuillaumeGomez```
Configuration menu - View commit details
-
Copy full SHA for 9606408 - Browse repository at this point
Copy the full SHA 9606408View commit details -
Rollup merge of rust-lang#99421 - Bryanskiy:android-crt-static, r=pet…
…rochenkov add crt-static for android
Configuration menu - View commit details
-
Copy full SHA for 6737549 - Browse repository at this point
Copy the full SHA 6737549View commit details -
Rollup merge of rust-lang#99500 - tmandry:fuchsia-flags, r=petrochenkov
Fix flags when using clang as linker for Fuchsia Don't add C runtime or set dynamic linker when linking with clang for Fuchsia. Clang already does this for us.
Configuration menu - View commit details
-
Copy full SHA for 92b32e3 - Browse repository at this point
Copy the full SHA 92b32e3View commit details -
Rollup merge of rust-lang#99511 - RalfJung:raw_eq, r=wesleywiser
make raw_eq precondition more restrictive Specifically, don't allow comparing pointers that way. Comparing pointers is subtle because you have to talk about what happens to the provenance. This matches what [Miri already implements](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=9eb1dfb8a61b5a2d4a7cee43df2717af), and all existing users are fine with this. If raw_eq on pointers is ever desired, we can adjust the intrinsic spec and Miri implementation as needed, but for now that seems just unnecessary. Also, this is a const intrinsic, and in const, comparing pointers this way is *not possible* -- so if we allow the intrinsic to compare pointers in general, we need to impose an extra restrictions saying that in const-context, pointers are *not* okay.
Configuration menu - View commit details
-
Copy full SHA for 37efd55 - Browse repository at this point
Copy the full SHA 37efd55View commit details -
Rollup merge of rust-lang#99992 - jyn514:shell-scripts, r=Mark-Simula…
…crum Add `x.sh` and `x.ps1` shell scripts This is a more ambitious version of rust-lang#98716. It still changes the x.py shebang back to python3, for compatibility with non-Unix systems, but also adds alternative entrypoints for systems without `python3` installed. These scripts will be necessary for the rust entrypoint (rust-lang#94829), so I see little downside in adding them early. I'll update the dev-guide to suggest using these instead of x.py once this is merged. Fixes rust-lang#98650 r? `@Mark-Simulacrum` cc `@dtolnay` `@CAD97` `@yoshuawuyts`
Configuration menu - View commit details
-
Copy full SHA for 20f124a - Browse repository at this point
Copy the full SHA 20f124aView commit details -
Rollup merge of rust-lang#100112 - RalfJung:assert_send_and_sync, r=m…
…-ou-se Fix test: chunks_mut_are_send_and_sync Follow-up to rust-lang#100023 to make the test actually effective
Configuration menu - View commit details
-
Copy full SHA for 275d4e7 - Browse repository at this point
Copy the full SHA 275d4e7View commit details -
Rollup merge of rust-lang#100203 - compiler-errors:command-args-size-…
…hint, r=m-ou-se provide correct size hint for unsupported platform `CommandArgs` Split from rust-lang#99880 (comment)
Configuration menu - View commit details
-
Copy full SHA for bd64d67 - Browse repository at this point
Copy the full SHA bd64d67View commit details -
Rollup merge of rust-lang#100307 - nnethercote:fix-96847, r=cjgillot
Fix rust-lang#96847 r? `@petrochenkov`
Configuration menu - View commit details
-
Copy full SHA for e221aaf - Browse repository at this point
Copy the full SHA e221aafView commit details -
Rollup merge of rust-lang#100350 - jhpratt:stringify-vis, r=cjgillot
Stringify non-shorthand visibility correctly This makes `stringify!(pub(in crate))` evaluate to `pub(in crate)` rather than `pub(crate)`, matching the behavior before the `crate` shorthand was removed. Further, this changes `stringify!(pub(in super))` to evaluate to `pub(in super)` rather than the current `pub(super)`. If the latter is not desired (it is _technically_ breaking), it can be undone. Fixes rust-lang#99981 `@rustbot` label +C-bug +regression-from-stable-to-beta +T-compiler
Configuration menu - View commit details
-
Copy full SHA for 6ae0414 - Browse repository at this point
Copy the full SHA 6ae0414View commit details -
Rollup merge of rust-lang#100374 - GuillaumeGomez:improve_rustdoc_sea…
…rch_results_page_crates_selection, r=notriddle Improve crate selection on rustdoc search results page Take over of rust-lang#98855 (screenshots and explanations are there). You can test it [here](https://rustdoc.crud.net/imperio/improve_rustdoc_search_results_page_crates_selection/std/index.html?search=test). cc ``@steffahn`` ``@jsha`` r? ``@notriddle``
Configuration menu - View commit details
-
Copy full SHA for cefcfda - Browse repository at this point
Copy the full SHA cefcfdaView commit details -
Rollup merge of rust-lang#100392 - nnethercote:simplify-visitors, r=c…
…jgillot Simplify visitors By removing some unused arguments. r? `@cjgillot`
Configuration menu - View commit details
-
Copy full SHA for 8237efc - Browse repository at this point
Copy the full SHA 8237efcView commit details -
Rollup merge of rust-lang#100418 - tbodt:stabilize-backtrace, r=dtolnay
Add stability attributes to BacktraceStatus variants Fixes rust-lang#100399
Configuration menu - View commit details
-
Copy full SHA for c7578b4 - Browse repository at this point
Copy the full SHA c7578b4View commit details