9 Commits

Author SHA1 Message Date
Kivooeo
dc05250c2f some cleanups in compiler 2025-10-12 08:08:30 +00:00
Josh Triplett
715088094c Improve and regularize comment placement in doc code
Because doc code does not get automatically formatted, some doc code has
creative placements of comments that automatic formatting can't handle.
Reformat those comments to make the resulting code support standard Rust
formatting without breaking; this is generally an improvement to
readability as well.

Some comments are not indented to the prevailing indent, and are instead
aligned under some bit of code. Indent them to the prevailing indent,
and put spaces *inside* the comments to align them with code.

Some comments span several lines of code (which aren't the line the
comment is about) and expect alignment. Reformat them into one comment
not broken up by unrelated intervening code.

Some comments are placed on the same line as an opening brace, placing
them effectively inside the subsequent block, such that formatting would
typically format them like a line of that block. Move those comments to
attach them to what they apply to.

Some comments are placed on the same line as a one-line braced block,
effectively attaching them to the closing brace, even though they're
about the code inside the block. Reformat to make sure the comment will
stay on the same line as the code it's commenting.
2025-07-25 22:02:09 -07:00
ywxt
0ff1fb27d3 Restore to HashSet
Co-authored-by: Zoxc <zoxc32@gmail.com>
2025-06-28 17:58:21 +08:00
ywxt
46e18d1fe0 Add FIXMEs for those ignored tests. 2025-06-28 17:58:21 +08:00
ywxt
0ceac216c9 Only work-steal in the main loop for rustc_thread_pool
Co-authored-by: Zoxc <zoxc32@gmail.com>
2025-06-28 17:58:20 +08:00
Celina G. Val
f52c6eee02 Another round of tidy / warning fixes 2025-06-11 16:56:01 -07:00
Celina G. Val
4aa62ea9e9 Use rustc_thread_pool instead of rustc-rayon-core 2025-06-11 12:26:42 -07:00
Celina G. Val
0b9b1df006 Fix format and tidy for code moved from rayon 2025-06-11 11:12:32 -07:00
Celina G. Val
35c5144394 Move rayon-core to rustc_thread_pool files as is
This commit literally copied the directory rayon-core from
revision `5fadf44`. Link:
https://github.com/rust-lang/rustc-rayon/tree/5fadf44/rayon-core
2025-06-11 10:43:59 -07:00