• OctoMY API
  • OctoMY API Reference
  • C++ Classes
  • OctoMY
  • ComponentBuildContext
  • toolchain::ComponentBuildContext Struct

    struct toolchain::ComponentBuildContext

    Per-build state handed to each Component's recipe callable. More...

    Header: #include <ComponentBuildContext>
    Since: Phase 20c

    Detailed Description

    Bundles up the CompilerInterface implementation, the chosen sysroot handle, the target triple/CPU, and any per-multilib parameters the recipe needs. Recipes accept this by reference and don't allocate anything else — all build-shaped state flows through here.

    See also toolchain::Component, toolchain::CompilerInterface, and toolchain::SysrootHandle.