commit | 1a1cdff7db14d601785fa21657dd13802a5c9b13 | [log] [tgz] |
---|---|---|
author | Mitchell Kember <mkember@google.com> | Tue May 09 18:49:34 2023 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue May 09 18:49:34 2023 +0000 |
tree | 824db8c2c4ea38ab83bad45e5f1c87d687f86c76 | |
parent | 4ef29f758763f75f31a47bee9a9711ca7f1ab101 [diff] |
[fidl][rust] Migrate resource structs to new parameter types This CL migrates FIDL resource structs to the new parameter types, where they are passed by value (move) instead of by mutable reference. This more accurately models what is going on, since you are transferring ownership of all handles inside the struct. Test: fx check-goldens fidlgen_rust Test: fx build tools/fidl/fidlgen_rust:goldens Bug: 54368, 113157 Change-Id: Ic97813829795a3e49d4ea37b858a7b12008515cd Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/853276 Reviewed-by: Ian McKellar <ianloic@google.com> Commit-Queue: Mitchell Kember <mkember@google.com>
Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.
We expect everyone interacting with our project to respect our code of conduct.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.