[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
1 file changed
tree: 7424a8e6aa27fd50890da655726c7e67fe5f3862
  1. git-hooks/
  2. infra/
  3. third_party/
  4. cts
  5. firmware
  6. flower
  7. jiri.lock
  8. minimal
  9. prebuilts
  10. README.md
  11. stem
  12. test_durations
  13. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

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.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.