commit | 9113045bc558a96df4fda5920cc838961f257455 | [log] [tgz] |
---|---|---|
author | Mitchell Kember <mkember@google.com> | Fri Nov 06 01:49:48 2020 +0000 |
committer | CQ Bot <commit-bot@chromium.org> | Fri Nov 06 01:49:48 2020 +0000 |
tree | 0bc85e573cd89e43a2054f4d861d1d5222ea69ba | |
parent | 3d34332e57b2729b73a471c4f1bbb2e26200fc7d [diff] |
[rust][fidl] Use source-compatible table initializers/patterns This CL updates all Rust code in src/experiences to initialize FIDL tables using the `..MyTable::empty()` syntax and to match using the `..` syntax. This was done mechanically with a script which will be checked into fuchsia.git soon. I ran rustfmt on the files but only staged parts around the affected lines. Bug: 7983 Test: CQ Change-Id: I0310cee02c15a8f9d60d8885e0913e48afbca4bf Reviewed-on: https://fuchsia-review.googlesource.com/c/experiences/+/447439 Reviewed-by: Tyler Mandry <tmandry@google.com> Reviewed-by: Pascal Perez <pascallouis@google.com> Testability-Review: Pascal Perez <pascallouis@google.com> Commit-Queue: Mitchell Kember <mkember@google.com>
This is a companion repository to Fuchsia and contains code that either implements or supports user facing code for the Fuchsia platform. The code provides a majority of the user interface for the Workstation product as well as a small set of examples, tests, and benchmarks.
This repository is a “source petal” included in the Fuchsia Platform Source Tree (FPST) checkout. Code in this repository must be built with Fuchsia in order to be functional, see (the guide)[https://fuchsia.dev/fuchsia-src/development/source_code] for instructions on getting the source.
Hardware support should be considered experimental. However, NUC's and Pixelbooks are known to work best. For details on hardware setup see: (Install Fuchsia on a Device)[https://fuchsia.dev/fuchsia-src/development/hardware/paving]
Once you have functional checkout you can (configure a build)[https://fuchsia.dev/fuchsia-src/development/build/fx#configure-a-build] targeting Workstation:
fx set workstation.<board> # For options run: `fx list-boards` fx build
See Fuchsia's (build and pave instructions)[https://fuchsia.dev/fuchsia-src/development/build/build_and_pave_quickstart] for detailed instructions.
Once built, standard Fuchsia workflows for paving, running code, and testing apply. See: (fx workflows)[https://fuchsia.dev/fuchsia-src/development/build/fx] for detailed instructions.