blob: 0c5337736c1d56c1442f9846334dab08292fb324 [file]
<html devsite>
<head>
<meta name="project_path" value="/_project.yaml">
<meta name="book_path" value="/versions/7.0.0/_book.yaml">
</head>
<body>
<h1 class="page-title">Global functions</h1>
{% dynamic setvar source_file "NONE" %}
{% dynamic setvar version "7.0.0" %}
{% dynamic setvar original_path "/rules/lib/globals" %}
{% include "_buttons.html" %}
This section lists the global functions available in Starlark. The list of available functions differs depending on the file type (whether a BUILD file, or a .bzl file, etc).
<ul>
<li><a href="/versions/7.0.0/rules/lib/globals/bzl">.bzl files</a></li>
<li><a href="/versions/7.0.0/rules/lib/globals/all">All Bazel files</a></li>
<li><a href="/versions/7.0.0/rules/lib/globals/build">BUILD files</a></li>
<li><a href="/versions/7.0.0/rules/lib/globals/module">MODULE.bazel files</a></li>
<li><a href="/versions/7.0.0/rules/lib/globals/workspace">WORKSPACE files</a></li>
</ul>
</body>
</html>