APIActive

Buck2 Build APIs

Build APIs for Buck2, including providers and functions for defining rules, execution platforms, and dynamic actions.

Open source page

Field note

What it does

Buck2 Build APIs provide a set of Starlark functions and providers for defining build rules, execution platforms, and dynamic actions. They enable custom build logic and integration with Buck2's build system.

Capabilities

Available capabilities

Tags

Tags

No tags filed yet.

Ways to use it

Ways to use it

No integrations filed yet.

Product features

Product features

anon_rule

Define an anon rule similar to a normal rule with artifact promises.

dedupe

Remove duplicates in a list using identity.

dynamic_actions

Create new dynamic action callable.

enforce_visibility_intersection

Opts a PACKAGE into intersection-based visibility.

ExecutionPlatformInfo

Provider that signals a target represents an execution platform.

ExecutionPlatformRegistrationInfo

Provider that gives the list of all execution platforms available for a build.

InstallInfo

Provider that can be constructed and have its fields accessed.