Struct starlark_dialect_build_targets::Target
source · pub struct Target {
pub callable: Value,
pub depends: Vec<String>,
pub resolved_value: Option<Value>,
pub built_target: Option<ResolvedTarget>,
}
Expand description
Represents a registered target in the Starlark environment.
Fields§
§callable: Value
The Starlark callable registered to this target.
depends: Vec<String>
Other targets this one depends on.
resolved_value: Option<Value>
What calling callable returned, if it has been called.
built_target: Option<ResolvedTarget>
The ResolvedTarget
instance this target’s build() returned.
TODO consider making this an Arc