servo/components
bors-servo f77e66bbf8
Auto merge of #28635 - negator:patch-2, r=jdm
Do not use ParallelIterator if not using rayon

The rayon [`ParalllelIIterator`](https://github.com/rayon-rs/rayon/blob/master/src/iter/plumbing/README.md) is being used for inline content size calculations irrespective of the `use_rayon` flag, which can lead to an unbounded (dynamically determined) number of threads being spawned during iteration.

The check is performed for static position calculations, however:
6fced22e47/components/layout_2020/flow/mod.rs (L235-L242)

---
<!-- 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 ___

<!-- 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. -->
2021-12-01 01:30:21 -05:00
..
allocator
atoms Implement GPUUncapturedErrorEvent 2020-08-11 14:24:58 +05:30
background_hang_monitor fix(bhm): deliver exit signal reliably (for real) 2021-06-21 00:07:26 +09:00
bluetooth feat: shorten thread names 2021-07-19 00:57:48 +09:00
bluetooth_traits Some Cargo.toml cleanups 2020-05-13 22:09:56 -07:00
canvas Updated cssparser dependency to 0.29. 2021-11-18 16:16:46 +01:00
canvas_traits Updated cssparser dependency to 0.29. 2021-11-18 16:16:46 +01:00
compositing Create initial browser id for compositor on startup. 2021-10-18 09:58:32 -04:00
config Fix warnings introduced in newer Rust Nightly 2021-02-25 15:36:03 +01:00
config_plugins Fix warnings introduced in newer Rust Nightly 2021-02-25 15:36:03 +01:00
constellation Auto merge of #28591 - servo:jdm-patch-51, r=jdm 2021-11-01 10:19:52 -04:00
deny_public_fields
derive_common Miscellaneous build / tidy fixes. 2021-02-26 17:53:55 +01:00
devtools feat: shorten thread names 2021-07-19 00:57:48 +09:00
devtools_traits Console.Clear implemented 2020-07-29 22:19:18 +05:30
dom_struct
domobject_derive More Cargo.toml cleanups 2020-05-14 22:20:18 -07:00
embedder_traits Improve IME messaging to embedder with insertion point index and multiline flag. 2021-03-29 17:55:54 +13:00
fallible More Cargo.toml cleanups 2020-05-14 22:20:18 -07:00
geometry
gfx feat: shorten thread names 2021-07-19 00:57:48 +09:00
gfx_traits Update webrender. 2020-06-11 14:07:39 -04:00
hashglobe Fix UB in hashglobe 2021-10-09 00:01:04 +08:00
jstraceable_derive
layout Update nightly rustc. 2021-11-01 08:46:18 -04:00
layout_2020 fmt 2021-11-30 18:13:39 -08:00
layout_thread feat: shorten thread names 2021-07-19 00:57:48 +09:00
layout_thread_2020 feat: shorten thread names 2021-07-19 00:57:48 +09:00
layout_traits ensure clean shutdown of all threads running JS 2020-06-30 13:22:38 +08:00
malloc_size_of Updated cssparser dependency to 0.29. 2021-11-18 16:16:46 +01:00
media feat: shorten thread names 2021-07-19 00:57:48 +09:00
metrics Remove support for energy profiling 2020-06-04 16:39:08 +02:00
msg ensure clean shutdown of all threads running JS 2020-06-30 13:22:38 +08:00
net more concise 2021-11-29 06:59:30 -08:00
net_traits Fix warnings introduced in newer Rust Nightly 2021-02-25 15:36:03 +01:00
pixels More Cargo.toml updates 2020-05-30 18:18:57 -07:00
profile feat: shorten thread names 2021-07-19 00:57:48 +09:00
profile_traits Bump time to latest v0.1.x version. 2021-06-25 17:19:14 +01:00
rand
range More Cargo.toml updates 2020-05-30 18:18:57 -07:00
remutex Fix rust's remutex source code link 2020-06-01 21:24:05 +09:00
script Updated cssparser dependency to 0.29. 2021-11-18 16:16:46 +01:00
script_layout_interface ensure clean shutdown of all threads running JS 2020-06-30 13:22:38 +08:00
script_plugins Update nightly rustc. 2021-11-01 08:46:18 -04:00
script_traits Bump time to latest v0.1.x version. 2021-06-25 17:19:14 +01:00
selectors Updated cssparser dependency to 0.29. 2021-11-18 16:16:46 +01:00
servo Create initial browser id for compositor on startup. 2021-10-18 09:58:32 -04:00
servo_arc More Cargo.toml updates 2020-05-30 18:18:57 -07:00
size_of_test
std_test_override
style Updated cssparser dependency to 0.29. 2021-11-18 16:16:46 +01:00
style_derive style: Fix clippy warnings 2021-02-26 17:15:33 +01:00
style_traits Updated cssparser dependency to 0.29. 2021-11-18 16:16:46 +01:00
to_shmem Updated cssparser dependency to 0.29. 2021-11-18 16:16:46 +01:00
to_shmem_derive Fix warnings introduced in newer Rust Nightly 2021-02-25 15:36:03 +01:00
url feat: shorten thread names 2021-07-19 00:57:48 +09:00
webdriver_server feat: shorten thread names 2021-07-19 00:57:48 +09:00
webgpu Pin git revisions of dependencies that aren't compatible in newer revisions. 2020-11-12 15:47:07 -05:00
webrender_surfman Update to winit 0.24. 2021-03-05 20:00:30 -05:00
webrender_traits Implement GPUSwapChain and GPUCanvasContext and interface with Webrender 2020-06-13 17:46:12 +05:30