| commit | b96e0a7175e2ee8d2c44db41e225b090b996823a | [log] [tgz] |
|---|---|---|
| author | Yifei Teng <yifeit@fuchsia.infra.roller.google.com> | Thu Nov 17 06:59:12 2022 +0000 |
| committer | Copybara-Service <copybara-worker@google.com> | Wed Nov 16 23:00:19 2022 -0800 |
| tree | 7424a8e6aa27fd50890da655726c7e67fe5f3862 | |
| parent | df0b2cd35d3f3af4441e6c69c511577a5cb69bf9 [diff] |
[roll] Roll fuchsia [fit] Ergonomic conversion from fit::result<E, T> to zx::result<T> This is made possible by two helpers: - fit::result<E, T>::map_error(Fn): takes a lambda and uses it to transform the error type. - zx::result<T>::result(fit::result<zx_status_t, T>): implicit conversion from a fit::result<zx_status_t, T> to zx::result<T>. The main purpose is to help people convert between their various result types. In particular, without the equivalent of a type-erasing error type like `anyhow` in Rust, `zx::result` is the commonly used canonical result type in a lot of places. Original-Fixed: 101541 Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/759382 Original-Revision: 1a2796efccc86f400d6fc3044b1c614b4747bdeb GitOrigin-RevId: 439f0d83184643404722cdfe0daada583c1f0e52 Change-Id: I34c4eff90a1cae662151e5b9bcf676cb2cf5320e
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.