docs/versions/6.3.0/rules/lib/fragments.mdx
A collection of configuration fragments available in the current rule implementation context. Access a specific fragment by its field name. For example, <code>ctx.fragments.java</code> <p>Only configuration fragments which are declared in the rule definition may be accessed in this collection.</p><p>See the <a href="https://bazel.build/versions/6.3.0/rules/lib/starlark-configuration-fragment">configuration fragment reference</a> for a list of available fragments and the <a href="https://bazel.build/versions/6.3.0/rules/rules#configuration_fragments">rules documentation</a> for how to use them.
</body> </html> <!-- {% endraw %} -->