mirror of
https://github.com/servo/servo.git
synced 2025-08-09 07:25:35 +01:00
Disable use of rayon with --layout-threads 1
instead of panicking
This commit is contained in:
parent
aade603025
commit
c895e3d236
6 changed files with 56 additions and 36 deletions
|
@ -11,6 +11,7 @@ use style::context::SharedStyleContext;
|
|||
|
||||
pub struct LayoutContext<'a> {
|
||||
pub id: PipelineId,
|
||||
pub use_rayon: bool,
|
||||
pub style_context: SharedStyleContext<'a>,
|
||||
pub font_cache_thread: Mutex<FontCacheThread>,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue