[roll] Roll fuchsia [rust] Migrate to rust edition 2021

This migrates the majority of our rust code and build files to use edition 2021. See https://doc.rust-lang.org/edition-guide/rust-2021/index.html for details about the new edition.

The edition migration tooling added lots of code like `let _ = &self;` to preserve the drop ordering of the original code. See https://doc.rust-lang.org/edition-guide/rust-2021/disjoint-capture-in-closures.html for more information about that specific change.

Original-Bug: 101302
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/691339
Original-Revision: 30357e2cfcd4c3b68afcb776508b53f7c0b3d4cd
GitOrigin-RevId: 61bb68411228571703643c1dfb44906f5ef25ed4
Change-Id: Iaa8f2a8aff857027290b9c85446bf989f932f380
1 file changed
tree: f7b01533595582d2e1856d82d708a3c38ca076f7
  1. infra/
  2. third_party/
  3. cts
  4. firmware
  5. flower
  6. jiri.lock
  7. minimal
  8. prebuilts
  9. README.md
  10. stem
  11. test_durations
  12. 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.