[roll] Roll fuchsia [gidl][rust] Generate code to avoid double closing handles

This CL makes GIDL-generated decode_success tests in Rust generate code
to call std::mem::forget on all the handles in the expected value, thus
avoiding double close errors (since that actual value contains the same
raw handle values).

Previously this was accomplished by re-encoding the expected value, but
this caused poor error messages when tests failed (fxbug.dev/62969). It
also made it difficult to implement encode and decode for the v2 wire
format separately (we'd have to disable the tests temporarily).

Test: fx test fidl_rust_conformance_tests
Test: changed a decode_success test to fail, and error output looked good
Original-Fixed: 62969
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/556274
Original-Revision: c51a6f3ec2ff573796d470cada514c3d7ee077c9
GitOrigin-RevId: d5e18836d21cdfcb11719feca97a3d79da0180e5
Change-Id: Ica8e022a6d6d5eb99d8b09534fd01a604eeb9772
1 file changed
tree: 178b9a570789e58548ac907535c720b3b18c551e
  1. garnet/
  2. infra/
  3. peridot/
  4. third_party/
  5. topaz/
  6. zircon/
  7. firmware
  8. flower
  9. jiri.lock
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. 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.