[build][rust] Add force_opt and use in component_manager

component_manager is used in the Zircon boot image
and so must always be small, even in debug builds.

Test: built core without --release, saw component_manager
taking up only 0x002eaa10 of ZBI rather than the
0x00a38db8 reported in ZX-4396 (though still larger than
the 0x002ce580 in true release mode due to still building
library dependencies without optimizations).

Fix TC-560.

Change-Id: Ib0820ae9efa1d5761b8fbce0157cd744a441c738
5 files changed
tree: 49df3d5a51e30b697cb40391c2e6e66f51f34b02
  1. .clang-format
  2. .clang-tidy
  3. .dir-locals.el
  4. .gitattributes
  5. .gitignore
  6. .gn
  7. AUTHORS
  8. BUILD.gn
  9. CODE_OF_CONDUCT.md
  10. CONTRIBUTING.md
  11. LICENSE
  12. OWNERS
  13. PATENTS
  14. README.md
  15. boards/
  16. build/
  17. buildtools/
  18. bundles/
  19. docs/
  20. examples/
  21. garnet/
  22. peridot/
  23. products/
  24. rustfmt.toml
  25. scripts/
  26. sdk/
  27. src/
  28. third_party/
  29. tools/
  30. zircon/
README.md

Fuchsia

Pink + Purple == Fuchsia (a new operating system)

What is Fuchsia?

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.

How can I build and run Fuchsia?

See Getting Started.

Where can I learn more about Fuchsia?

See the documentation.