about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/interface.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-07-13 05:24:18 +0000
committerbors <bors@rust-lang.org>2022-07-13 05:24:18 +0000
commit95e8b86c8c0aba65b2b0065265ce6d82d5a2c285 (patch)
tree9ac870bba91f79f5e4f3b34e2d7f3c59bb452080 /compiler/rustc_interface/src/interface.rs
parent7b5715289f813460ac95189fb7d3479e8edd23eb (diff)
parent6bc97d0adcc7e9bd828de1ccf9c9ffc9b30165ee (diff)
downloadrust-95e8b86c8c0aba65b2b0065265ce6d82d5a2c285.tar.gz
rust-95e8b86c8c0aba65b2b0065265ce6d82d5a2c285.zip
Auto merge of #99149 - ferrocene:pa-nightly-branch, r=Mark-Simulacrum
Configure nightly branch name in `stage0.json`

The beta version number detection code relies on git to know how many merge commits were made since we branched off, and in doing so hardcodes `master` as the default branch name. This works for rust-lang/rust, but is problematic for forks that use a different default branch name (in Ferrocene we use `main` instead).

This PR changes the code to instead load the default branch name from `src/stage0.json`. `bump-stage0` has also been updated to remove the need to update it every time a new field is added to `stage0.json`.
Diffstat (limited to 'compiler/rustc_interface/src/interface.rs')
0 files changed, 0 insertions, 0 deletions