propagation_ctx

Report an issue View source Nightly · 8.1 · 8.0 · 7.6 · 7.5 · 7.4

A context object that is passed to the propagation_predicate, attr_aspects and toolchains_aspects functions of aspects. It provides access to the information needed to determine whether the aspect should be propagated to the target and what attributes or toolchain types it should be propagated to next.

Members

attr

struct propagation_ctx.attr

A struct to access only the public parameters of the aspect. The keys and values of the struct are the parameters names and values.

rule

StarlarkAspectPropagationRuleApi propagation_ctx.rule

Allows access to the details of the rule.