about summary refs log tree commit diff
path: root/src/bootstrap/run.rs
AgeCommit message (Collapse)AuthorLines
2023-10-17move bootstrap core implementation to bootstrap/src/core moduleonur-ozkan-301/+0
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2023-10-15optimize `GenerateCompletions::run`onur-ozkan-17/+18
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2023-10-15generate zsh autocompletion for xonur-ozkan-2/+5
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2023-07-15Rename `Builder::try_run` to `run_delaying_failure`jyn-1/+1
2023-07-15Deduplicate `Builder::try_run` and mark `Config::try_run` as deprecatedjyn-15/+1
This does three things: 1. Remove `forward!(Build, fn try_run())`. Having `try_run` behave differently as a free function than an associated function is confusing, and `Builder::try_run` is a very desirable name. 2. Move `test::try_run` and `run::try_run` to `Builder::try_run`. These functions are different than `Config::try_run` - they delay the failure and print it out at the end of the build. 3. Mark `Config::try_run` as deprecated to encourage people to use `Builder::try_run` instead.
2023-07-11Don't fail early if `try_run` returns an errorGuillaume Gomez-6/+5
2023-06-23Make `try_run` return a `Result<(), ()>` instead of a booleanGuillaume Gomez-5/+6
2023-05-10Generate shell completions for bootstrap with Clapclubby789-0/+34
2023-05-05Generate windows-sys bindingsChris Denton-0/+22
2023-05-04Use `free-args` consistently in bootstrapjyn-3/+2
Previously, this was only passed to miri and compiletest. Extended it to all other tests and binaries as well.
2023-02-10Pass arguments to `x` subcommands with `--`clubby789-0/+1
2023-01-03Allow passing a specific date to `bump-stage0`Joshua Nelson-0/+1
This allows regenerating `src/stage0.json` on changes to the tool, without needing to hard-code the date in the source.
2022-11-15initial prototype of the tool to generate copyright noticesPietro Albini-0/+30
2022-11-15add tool to collect license metadata from REUSEPietro Albini-0/+33
2022-11-06bootstrap: add support for running Miri on a fileRalf Jung-2/+66
2022-08-27Add replace-version-placeholder toolest31-0/+22
This tool is to be ran at specific points in the release process to replace the version place holder made by stabilizations with the version number.
2022-03-05Merge build_helper into utilbjorn3-1/+1
2022-03-05Remove build_helperbjorn3-1/+1
The majority of the code is only used by either rustbuild or rustc_llvm's build script. Rust_build is compiled once for rustbuild and once for every stage. This means that the majority of the code in this crate is needlessly compiled multiple times. By moving only the code actually used by the respective crates to rustbuild and rustc_llvm's build script, this needless duplicate compilation is avoided.
2021-08-26switch stage0.txt to stage0.json and add a tool to generate itPietro Albini-0/+21
2020-10-12build-manifest: bundle the rustc version in the binaryPietro Albini-1/+0
2020-10-12build-manifest: accept the Rust version instead of the monorepo pathPietro Albini-1/+1
This commit changes the way build-manifest is invoked, to let it accept the Rust version directly instead of requiring the path of the Rust monorepo and letting build-manifest figure out the path on its own. This allows to run build-manifest without a clone of the monorepo.
2020-09-30bootstrap: add ./x.py run src/tools/build-manifestPietro Albini-0/+42
2020-09-24Add `x.py setup`Joshua Nelson-1/+1
- Suggest `x.py setup` if config.toml doesn't exist yet (twice, once before and once after the build) - Prompt for a profile if not given on the command line - Print the configuration file that will be used - Print helpful starting commands after setup - Link to the dev-guide after finishing - Note that distro maintainers will see the changelog warning
2020-03-24bootstrap: remove default and only_host from expand-yaml-anchorsPietro Albini-2/+0
2020-03-24ci: add github actions configurationPietro Albini-0/+45