summary refs log tree commit diff
path: root/tests/codegen/patchable-function-entry
diff options
context:
space:
mode:
authoronur-ozkan <work@onurozkan.dev>2025-01-19 12:50:49 +0300
committerJosh Stone <jistone@redhat.com>2025-01-25 16:48:11 -0800
commite92addfac403a4f6904587fd86d45c3f5336ce24 (patch)
tree07489774cc76d658ddfa9c290f06ec843a2d67ff /tests/codegen/patchable-function-entry
parent4595e112d0c76cd2717f56f6a596f7ebc35f1461 (diff)
downloadrust-e92addfac403a4f6904587fd86d45c3f5336ce24.tar.gz
rust-e92addfac403a4f6904587fd86d45c3f5336ce24.zip
make it possible to use ci-rustc on tarball sources
Previously, bootstrap was using `Config::last_modified_commit` unconditionally to figure
the commit has to download precompiled rustc artifact from CI, which was leading builds to
fail on tarball sources as `Config::last_modified_commit` requires `git` to be present in the project
source. This change makes bootstrap to call `Config::last_modified_commit` only when it's running on
git-managed source and read `git-commit-hash` file otherwise.

Signed-off-by: onur-ozkan <work@onurozkan.dev>
(cherry picked from commit 903cddb392bc9a5bc43194bcbb8b031f2fcc2c56)
Diffstat (limited to 'tests/codegen/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions