mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Auto merge of #16917 - glennw:update-wr-bugs, r=emilio
Update WR (Intel driver workaround, subpixel and other bugfixes). <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16917) <!-- Reviewable:end -->
This commit is contained in:
commit
e91ffafd82
2 changed files with 10 additions and 2 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -3298,7 +3298,7 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "webrender"
|
||||
version = "0.39.0"
|
||||
source = "git+https://github.com/servo/webrender#4ab9b9b00b00c93a51469775f56c53eeea68b5ab"
|
||||
source = "git+https://github.com/servo/webrender#c003d553bdd856e1e78d213375582a1f2b091a06"
|
||||
dependencies = [
|
||||
"app_units 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"bincode 1.0.0-alpha6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
|
@ -3327,7 +3327,7 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "webrender_traits"
|
||||
version = "0.39.0"
|
||||
source = "git+https://github.com/servo/webrender#4ab9b9b00b00c93a51469775f56c53eeea68b5ab"
|
||||
source = "git+https://github.com/servo/webrender#c003d553bdd856e1e78d213375582a1f2b091a06"
|
||||
dependencies = [
|
||||
"app_units 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"bincode 1.0.0-alpha6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
|
|
|
@ -458,6 +458,14 @@ class MachCommands(CommandBase):
|
|||
def wptrunner(self, run_file, **kwargs):
|
||||
self.set_software_rendering_env(kwargs['release'])
|
||||
|
||||
# By default, Rayon selects the number of worker threads
|
||||
# based on the available CPU count. This doesn't work very
|
||||
# well when running tests on CI, since we run so many
|
||||
# Servo processes in parallel. The result is a lot of
|
||||
# extra timeouts. Instead, force Rayon to assume we are
|
||||
# running on a 2 CPU environment.
|
||||
os.environ['RAYON_RS_NUM_CPUS'] = "2"
|
||||
|
||||
os.environ["RUST_BACKTRACE"] = "1"
|
||||
kwargs["debug"] = not kwargs["release"]
|
||||
if kwargs.pop("chaos"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue