Skip to content

Set a maximum thread limit for the remove_dir_all crate#4413

Merged
ChrisDenton merged 1 commit into
rust-lang:masterfrom
ChrisDenton:rayon_threads
Jul 15, 2025
Merged

Set a maximum thread limit for the remove_dir_all crate#4413
ChrisDenton merged 1 commit into
rust-lang:masterfrom
ChrisDenton:rayon_threads

Conversation

@ChrisDenton

@ChrisDenton ChrisDenton commented Jul 15, 2025

Copy link
Copy Markdown
Member

Under the hood it uses rayon so we preinitialise rayon's global pool.

Follow up to #4407
Fixes #4403

Comment thread Cargo.toml Outdated
Comment thread src/install.rs Outdated
Comment thread src/install.rs Outdated
Under the hood it uses rayon so we pre-initialize the global pool.
@ChrisDenton ChrisDenton enabled auto-merge July 15, 2025 12:28
@ChrisDenton ChrisDenton added this pull request to the merge queue Jul 15, 2025
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jul 15, 2025
@ChrisDenton

Copy link
Copy Markdown
Member Author

Hm, that looks spurious. I'll try again and see if it reoccurs.

@ChrisDenton ChrisDenton added this pull request to the merge queue Jul 15, 2025
Merged via the queue into rust-lang:master with commit f5cea1a Jul 15, 2025
29 checks passed
@ChrisDenton ChrisDenton deleted the rayon_threads branch July 15, 2025 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Exception "Resource temporarily unavailable" appears during executing rustup on Linux system with ulimit restrictions

3 participants