Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of servo#27994 - teymour-aldridge:fix-divide-by-zero, r=em…
…ilio Fix num_threads to avoid divide by zero error when running without a thread pool Signed-off-by: teymour-aldridge <[email protected]> <!-- Please describe your changes on the following line: --> This updates the style thread pool to set `num_threads` to `None` rather than `0` when running without a thread pool. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because ___ I *think* this change might not need tests, but if it does I'm not sure exactly how to do so. <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
- Loading branch information