blob: 5b0f7a1a8b8a93e44a6682792fd329ae2a016a5f [file] [log] [blame] [edit]
"""Indirection to avoid breaking on Bazel 6"""
visibility("private")
def starlark_doc_extract_helper(**kwargs):
"""Creates a starlark_doc_extract target if the native rule is available
Args:
**kwargs: (dict) args for starlark_doc_extract
"""
if hasattr(native, "starlark_doc_extract"):
native.starlark_doc_extract(**kwargs)