commit | 822a3f208800af600f0bd8c1f3314a4b443b7a96 | [log] [tgz] |
---|---|---|
author | David Koloski <dkoloski@fuchsia.infra.roller.google.com> | Mon Apr 28 10:58:47 2025 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Apr 28 11:00:16 2025 -0700 |
tree | e6b333806ad91e1c74869cdad2f3ae5c3390f8aa | |
parent | 206558b96c02414d46ad23fcd3eba7cc9afb0bef [diff] |
[roll] Roll fuchsia [fidl][rust] Support encoding by value and ref This change introduces the `EncodeRef` trait and changes the signature of `Encode`. `Encode` now accepts self by value and `EncodeRef` accepts `&self`. Because `Encode` is implemented for `&T` when `T: EncodeRef`, this allows encoding to support encoding resource types by value and non-resource types by reference with a single API surface. With this change, not only can FIDL requests and responses be encoded via references, but ordinary slices and `str`s can now be encoded as wire vectors and strings. Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1255645 Original-Revision: 3702833ec1101c6e5ce26df2c7b25c80e94111fb GitOrigin-RevId: 0cfccf649b683b398344b806c57843378dce3a26 Change-Id: Ica0c3b8c8633fc291ab6779fa2eeaee9e26cd76e
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 in one of the communication channels documented at get involved.
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
.