[roll] Roll fuchsia [zx][time] Add `-duration` and `int64_t*duration` operators The operator `duration * int64_t` already exists. This CL makes that operator commutative. This CL also adds a negation operator which is equivalent to `zx_duration_mul_int64(duration, -1)`. On trunk, clang optimizes this identically to a manual implementation of negation. https://godbolt.org/z/a3Wf9ar4n https://godbolt.org/z/1dq4raq81 Tests are added, which reveal pre-existing behavior that may be surprising: ``` zx::duration::infinite() * -1 == zx::duration::infinite_past() + 1 ``` Arguably, negating infinity should produce -infinity. I've left the behavior as-is for backwards-compatibility. Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/717122 Original-Revision: 573cf87f88460cc7d9606eeb0c29d63341d0e0ff GitOrigin-RevId: 491b536692154249cd67442d0d0bb6a34f7062ae Change-Id: Ic3ebb8f20e31df3c931e19831c778820d90a341f
This repository contains Fuchsia's Global Integration manifest files.
All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.
Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party.