diff options
| author | Pietro Albini <pietro.albini@ferrous-systems.com> | 2023-10-24 12:03:30 +0200 |
|---|---|---|
| committer | Pietro Albini <pietro.albini@ferrous-systems.com> | 2023-10-24 12:03:30 +0200 |
| commit | 545cc830e1fb22fe180dea2f713e6472b52707f9 (patch) | |
| tree | 6065942a40bf714db25b5d227d5c0ac9e80f0e69 /tests/rustdoc-js-std/parser-returned.js | |
| parent | 6eb3e97d5549f81bbdb8a5e94a005a338bc284ec (diff) | |
| download | rust-545cc830e1fb22fe180dea2f713e6472b52707f9.tar.gz rust-545cc830e1fb22fe180dea2f713e6472b52707f9.zip | |
allow configuring the parent GitHub repository
The git integration in build_helper hardcoded `rust-lang/rust` as the parent GitHub repository, and `master` as the branch name. This works great for `rust-lang/rust`, but causes problems in downstream forks like Ferrocene whenever those functions are invoked (like `./x fmt`). In `src/stage0.json` there was already a configuration key for the name of the nightly branch, but it wasn't used by build_helper. This commit adds the `github_repository` key to the file, and requires both values to be passed to build_helper whenever a git function is called. This will allow downstream forks to tweak the values.
Diffstat (limited to 'tests/rustdoc-js-std/parser-returned.js')
0 files changed, 0 insertions, 0 deletions
