We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
COMPILETEST_HAS_GIT_HASH=1
1 parent 74d823a commit ecfbe3eCopy full SHA for ecfbe3e
src/doc/rustc-dev-guide/src/tests/misc.md
@@ -38,3 +38,11 @@ fn main() {
38
.run();
39
}
40
```
41
+
42
+## `tests/run-make/version-verbose-commit-hash`
43
44
+This is a special `run-make` test that checks if git hash info is available with
45
+`rustc -vV` and `rustdoc -vV`. It must not trust bootstrap's reporting of
46
+whether git hash is available, as bootstrap may be bugged. Instead, this test
47
+directly checks for `COMPILETEST_HAS_GIT_HASH=1` being set in CI, otherwise this
48
+test is a no-op locally.
0 commit comments