[roll] Roll fuchsia [fidlgen_rust] Make handle wrapper ordering deterministic

This CL makes fidlgen_rust sort handle wrappers before emitting them,
ensuring deterministic output. Before it was iterating over the values
in a map, which does no guarantee a stable order.

This adds a method to protocols.test.fidl so that there is at least one
test library whose Rust bindings have multiple handle wrappers.

Test: before change: fx test fidlgen_rust_golden_tests # confirmed flaky
Test: after change: fx test fidlgen_rust_golden_tests
Original-Fixed: 66406
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/461936
Original-Revision: ab2a579a92bdf1f546d775e597f2301f4c7cf649
GitOrigin-RevId: 3e499f630c7d68970652154e36f7a7e08ac7975e
Change-Id: If83d7172cf44406efcc9fa7a207213ebe64ccf94
1 file changed
tree: 4cb63cf9993f61936238e35443379323aea1d5a8
  1. garnet/
  2. infra/
  3. peridot/
  4. third_party/
  5. topaz/
  6. zircon/
  7. flower
  8. jiri.lock
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
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.