commit | 61e08e36de3727fd4c5f24f3376e2b14baec83a8 | [log] [tgz] |
---|---|---|
author | Benjamin Prosnitz <bprosnitz@google.com> | Tue Jun 30 21:20:34 2020 +0000 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Tue Jun 30 21:20:34 2020 +0000 |
tree | 0c324f590c2cf1b003dcbd9e9ee285c67310a4cf | |
parent | 74b3b2dd5ff296b69bc48f745fc995f30f47e021 [diff] |
[fidl][rust] Add fidl_struct_copy! macro This add defines an Encodable and Decodable implementation that directly copies the struct using zerocopy. This will be generated in fidlgen_rust in a later CL. It can't be generated in this CL because it will break rust code appearing in the SDK. Test: fx test fidl_rust_tests Change-Id: I71502652ac0900dfa692d3f27d50e16797cc7fb7 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/403334 Commit-Queue: Benjamin Prosnitz <bprosnitz@google.com> Reviewed-by: Mitchell Kember <mkember@google.com> Testability-Review: Mitchell Kember <mkember@google.com>
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
See Getting Started.
See fuchsia.dev.