]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #76758 - adamlesinski:clone_clock, r=tmandry
authorTyler Mandry <tmandry@gmail.com>
Wed, 16 Sep 2020 19:24:19 +0000 (12:24 -0700)
committerGitHub <noreply@github.com>
Wed, 16 Sep 2020 19:24:19 +0000 (12:24 -0700)
[fuchsia] Propagate the userspace UTC clock

On Fuchsia, spawning a subprocess does not automatically
clone all of the parent process' capabilities. UTC time on
Fuchsia is managed by a top-level userspace clock capability
that is cloned and passed to subprocesses.

This change ensures that any Rust subprocess gets access to the
UTC clock, if the parent had access to it. This is critical for
tests, which on Fuchsia, use panic=abort and spawn subprocesses
per test.


Trivial merge