-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Rollup of 7 pull requests #92465
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Merged
Merged
Rollup of 7 pull requests #92465
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This reduces visual distractions when reading method signatures.
Run at 01:17 UTC instead of 17:01
Signed-off-by: Xuanwo <github@xuanwo.io>
Signed-off-by: Xuanwo <github@xuanwo.io>
Signed-off-by: Xuanwo <github@xuanwo.io>
Co-authored-by: David Tolnay <dtolnay@gmail.com>
Signed-off-by: Xuanwo <github@xuanwo.io>
This will allow them to be ignored by codegen backends that don't support inline asm.
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
I rarely use the dev profile anyway.
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.
A validity companion to changes from rust-lang#90373.
Extend check for UnsafeCell in consts to cover unions A validity companion to changes from rust-lang#90373. `@rust-lang/wg-const-eval`
… 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.
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
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>
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.
…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
…r=jsha Fix mobile toggles position Before:  After:  r? `@jsha`
@bors r+ rollup=never p=7 |
📌 Commit 2da54c7 has been approved by |
☀️ Test successful - checks-actions |
This was referenced Jan 1, 2022
Finished benchmarking commit (4d2e0fd): comparison url. Summary: This benchmark run did not return any relevant changes. If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
merged-by-bors
This PR was explicitly merged by bors.
rollup
A PR which is a rollup
S-waiting-on-bors
Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Successful merges:
Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup