-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 7 pull requests #92465
Rollup of 7 pull requests #92465
Commits on Dec 4, 2021
-
Use fewer colors in rustdoc UI
This reduces visual distractions when reading method signatures.
Configuration menu - View commit details
-
Copy full SHA for 2a7ee21 - Browse repository at this point
Copy the full SHA 2a7ee21View commit details
Commits on Dec 8, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c8e0f97 - Browse repository at this point
Copy the full SHA c8e0f97View commit details
Commits on Dec 11, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 3f517fb - Browse repository at this point
Copy the full SHA 3f517fbView commit details
Commits on Dec 20, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 799e067 - Browse repository at this point
Copy the full SHA 799e067View commit details -
Configuration menu - View commit details
-
Copy full SHA for eb158de - Browse repository at this point
Copy the full SHA eb158deView commit details
Commits on Dec 26, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 7762c7a - Browse repository at this point
Copy the full SHA 7762c7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d3323fe - Browse repository at this point
Copy the full SHA d3323feView commit details -
Configuration menu - View commit details
-
Copy full SHA for ad5966e - Browse repository at this point
Copy the full SHA ad5966eView commit details
Commits on Dec 27, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 9089c30 - Browse repository at this point
Copy the full SHA 9089c30View commit details
Commits on Dec 28, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c40ac57 - Browse repository at this point
Copy the full SHA c40ac57View commit details -
Configuration menu - View commit details
-
Copy full SHA for 013fbc6 - Browse repository at this point
Copy the full SHA 013fbc6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 27b92c9 - Browse repository at this point
Copy the full SHA 27b92c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0467c6a - Browse repository at this point
Copy the full SHA 0467c6aView commit details
Commits on Dec 29, 2021
-
Update library/std/src/ffi/os_str.rs
Co-authored-by: David Tolnay <dtolnay@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 9166428 - Browse repository at this point
Copy the full SHA 9166428View commit details -
Configuration menu - View commit details
-
Copy full SHA for b07ae1c - Browse repository at this point
Copy the full SHA b07ae1cView commit details -
Add a couple needs-asm-support headers to tests
This will allow them to be ignored by codegen backends that don't support inline asm.
Configuration menu - View commit details
-
Copy full SHA for 59bf63b - Browse repository at this point
Copy the full SHA 59bf63bView commit details
Commits on Dec 30, 2021
-
Rename cargo executable to cargo-clif
This allows executing it like cargo clif build if you add it to your PATH. It also fixes infinite recursion on Windows when invoking it as Windows includes the current directory in PATH by default. Fixes rust-lang#971
Configuration menu - View commit details
-
Copy full SHA for 0dd3d28 - Browse repository at this point
Copy the full SHA 0dd3d28View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c62357 - Browse repository at this point
Copy the full SHA 7c62357View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bcdb53 - Browse repository at this point
Copy the full SHA 9bcdb53View commit details -
Configuration menu - View commit details
-
Copy full SHA for 40e8846 - Browse repository at this point
Copy the full SHA 40e8846View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b1a243 - Browse repository at this point
Copy the full SHA 4b1a243View commit details -
Configuration menu - View commit details
-
Copy full SHA for 304a50b - Browse repository at this point
Copy the full SHA 304a50bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b4e640 - Browse repository at this point
Copy the full SHA 6b4e640View commit details -
Configuration menu - View commit details
-
Copy full SHA for f6d0e14 - Browse repository at this point
Copy the full SHA f6d0e14View commit details -
Don't enable optimizations in the dev profile
I rarely use the dev profile anyway.
Configuration menu - View commit details
-
Copy full SHA for f97670a - Browse repository at this point
Copy the full SHA f97670aView commit details -
Configuration menu - View commit details
-
Copy full SHA for c63d8f3 - Browse repository at this point
Copy the full SHA c63d8f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 40b00f4 - Browse repository at this point
Copy the full SHA 40b00f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for a8e6d5b - Browse repository at this point
Copy the full SHA a8e6d5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b77830d - Browse repository at this point
Copy the full SHA b77830dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c78ea5 - Browse repository at this point
Copy the full SHA 7c78ea5View commit details -
Fix some copy/paste hysteresis in OsString try_reserve docs
It appears `find_max_slow` comes from the BinaryHeap docs, where the try_reserve example is a slow implementation of find_max. It has no relevance to this code in OsString though.
Configuration menu - View commit details
-
Copy full SHA for 1f62c24 - Browse repository at this point
Copy the full SHA 1f62c24View commit details -
Configuration menu - View commit details
-
Copy full SHA for d29941e - Browse repository at this point
Copy the full SHA d29941eView commit details
Commits on Dec 31, 2021
-
Extend check for UnsafeCell in consts to cover unions
A validity companion to changes from rust-lang#90373.
Configuration menu - View commit details
-
Copy full SHA for 2eb637a - Browse repository at this point
Copy the full SHA 2eb637aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b1fbafd - Browse repository at this point
Copy the full SHA b1fbafdView commit details -
Rollup merge of rust-lang#90383 - tmiasko:union-validity, r=RalfJung
Extend check for UnsafeCell in consts to cover unions A validity companion to changes from rust-lang#90373. `@rust-lang/wg-const-eval`
Configuration menu - View commit details
-
Copy full SHA for ac1060e - Browse repository at this point
Copy the full SHA ac1060eView commit details -
Rollup merge of rust-lang#91375 - Apteryks:per-target-default-linker,…
… r=Mark-Simulacrum config.rs: Add support for a per-target default_linker option. * src/bootstrap/config.rs (Target) <default_linker>: New field. (TomlTarget): Likewise. * src/bootstrap/compile.rs (rustc_cargo_env): Prefer a target-specified default_linker over a global one if available. * config.toml.example: Adjust doc.
Configuration menu - View commit details
-
Copy full SHA for 198fca8 - Browse repository at this point
Copy the full SHA 198fca8View commit details -
Rollup merge of rust-lang#91480 - jsha:fewer-colors, r=GuillaumeGomez
rustdoc: use smaller number of colors to distinguish items This reduces visual distractions when reading method signatures. As discussed in rust-lang#59845 (comment), this categorizes items into one of six colors (down from thirteen): - method, function (ochre `#AD7C37`) - trait, trait alias (dark slate blue `#6E4FC9`) - enum, struct, type alias, union, primitive (maroon `#AD378A`) - static, module, keyword, associated type, foreign type (steel blue `#3873AD`) - macro (green `rust-lang#68000`) - generic params, self, Self (unmarked black `#000000`) I slightly tweaked the actual color values so they'd have the same lightness (previously the trait color stood out much more than the others). And I made the color for links in general consistently use steel blue (previously there was a slightly different color for "search-failed"). The ayu and dark themes have been updated according to the same logic. I haven't changed any of the color values in those themes, just their assignment to types. Demo: https://rustdoc.crud.net/jsha/fewer-colors/std/string/struct.String.html https://rustdoc.crud.net/jsha/fewer-colors/std/vec/struct.Vec.html https://rustdoc.crud.net/jsha/fewer-colors/std/io/trait.Read.html https://rustdoc.crud.net/jsha/fewer-colors/std/iter/trait.Iterator.html
Configuration menu - View commit details
-
Copy full SHA for 72e36d4 - Browse repository at this point
Copy the full SHA 72e36d4View commit details -
Rollup merge of rust-lang#92338 - Xuanwo:try_reserve, r=dtolnay
Add try_reserve and try_reserve_exact for OsString Add `try_reserve` and `try_reserve_exact` for OsString. Part of rust-lang#91789 I will squash the commits after PR is ready to merge. Signed-off-by: Xuanwo <github@xuanwo.io>
Configuration menu - View commit details
-
Copy full SHA for 8322603 - Browse repository at this point
Copy the full SHA 8322603View commit details -
Rollup merge of rust-lang#92405 - bjorn3:more_needs_inline_asm, r=lqd
Add a couple needs-asm-support headers to tests This will allow them to be ignored by codegen backends that don't support inline asm.
Configuration menu - View commit details
-
Copy full SHA for 81f5dbd - Browse repository at this point
Copy the full SHA 81f5dbdView commit details -
Rollup merge of rust-lang#92435 - bjorn3:sync_cg_clif-2021-12-30, r=b…
…jorn3 Sync rustc_codegen_cranelift The main highlight this sync is enforcing rustfmt and lack of warnings on cg_clif's CI. I will open a separate PR to remove the cg_clif exceptions for them from this repo. r? `@ghost` `@rustbot` label +A-codegen +A-cranelift +T-compiler
Configuration menu - View commit details
-
Copy full SHA for 4e4d258 - Browse repository at this point
Copy the full SHA 4e4d258View commit details -
Rollup merge of rust-lang#92440 - GuillaumeGomez:fix-mobile-toggles, …
…r=jsha Fix mobile toggles position Before: ![Screenshot from 2021-12-29 18-53-33](https://user-images.githubusercontent.com/3050060/147764842-082f6fa2-b631-4c47-ba34-ced76fe8494f.png) After: ![Screenshot from 2021-12-29 18-52-48](https://user-images.githubusercontent.com/3050060/147764853-13046330-2442-4fad-b26a-84c167711b54.png) r? `@jsha`
Configuration menu - View commit details
-
Copy full SHA for 2da54c7 - Browse repository at this point
Copy the full SHA 2da54c7View commit details