Skip to content

Commit

Permalink
docs: add missing default stamp var (#865)
Browse files Browse the repository at this point in the history
* docs: add missing default stamp var

* update docs
  • Loading branch information
alexeagle authored Jun 13, 2024
1 parent 3c0dbd5 commit fb950d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/stamping.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion lib/stamping.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ Stamping is typically performed on a later action in the graph, like on a linkin
This means that a changed status variable only causes that action, not re-compilation and thus does not cause cascading re-builds.
Bazel provides a couple of statuses by default, such as `BUILD_EMBED_LABEL` which is the value of the `--embed_label`
argument, as well as `BUILD_HOST` and `BUILD_USER`. You can supply more with the workspace status script, see below.
argument, as well as `BUILD_HOST`, `BUILD_TIMESTAMP`, and `BUILD_USER`.
You can supply more with the workspace status script, see below.
Some rules accept an attribute that uses the status variables.
They will usually say something like "subject to stamp variable replacements".
Expand Down

0 comments on commit fb950d3

Please sign in to comment.