diff options
| author | onur-ozkan <work@onurozkan.dev> | 2025-01-19 12:50:49 +0300 |
|---|---|---|
| committer | onur-ozkan <work@onurozkan.dev> | 2025-01-19 12:57:39 +0300 |
| commit | 903cddb392bc9a5bc43194bcbb8b031f2fcc2c56 (patch) | |
| tree | 2e1352730797ef20b4160356e727192d9b57494a /tests/rustdoc-js-std/parser-slice-array.js | |
| parent | 8e59cf95d540fcb341790126f524754f45a198ad (diff) | |
| download | rust-903cddb392bc9a5bc43194bcbb8b031f2fcc2c56.tar.gz rust-903cddb392bc9a5bc43194bcbb8b031f2fcc2c56.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>
Diffstat (limited to 'tests/rustdoc-js-std/parser-slice-array.js')
0 files changed, 0 insertions, 0 deletions
