about summary refs log tree commit diff
path: root/src/bootstrap/bin/main.rs
AgeCommit message (Collapse)AuthorLines
2023-10-17reorganize bootstrap bins and helper module utilizationsonur-ozkan-139/+0
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2023-10-01implement major change tracking for the bootstrap configurationonur-ozkan-13/+28
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2023-07-30bootstrap: inline format!() argsMatthias Krüger-4/+4
2023-06-27[PATCH] Fix build on Solaris where fd-lock cannot be used.Petr Sumbera-4/+6
2023-06-23display pid of process holding lockZephaniah Ong-36/+21
2023-04-18Fix bootstrap lockingAlbert Larsan-2/+4
Fix the regression introduced in 108607
2023-03-13Rollup merge of #108607 - psumbera:solaris-no-flock-bootstrap, r=albertlarsan68Matthias Krüger-7/+10
Don't use fd-lock on Solaris in bootstrap ...as Solaris is missing flock() fixes #103630
2023-03-13Don't use fd-lock on Solaris in bootstrapPetr Sumbera-7/+10
...as Solaris is missing flock() fixes #103630
2023-03-11Rename `config.toml.example` to `config.example.toml`Thom Chiovoloni-4/+4
2023-01-23Print PID holding bootstrap build lock on Linuxclubby789-2/+34
2022-11-05Place config.toml in current working directory if config not foundTanner Davies-1/+1
2022-06-27Move locking from bootstrap.py to rust bootstrap, using fd-lockJosh Triplett-1/+17
2021-08-24Make the pre-commit script pre-push insteadJoshua Nelson-0/+14
This should make it substantially less annoying, and hopefully more people will find it useful. In particular, it will no longer run tidy each time you run `git commit --amend` or rebase a branch. This also warns if you have the old script in pre-commit; see the HACK comment for details.
2021-02-17make suggest setup help messages betterHenry Boisdequin-3/+9
2020-10-11Mostly print statements to see where things areWinnie Xiao-4/+4
More print statementsstatements lol Solved the basic case of eliminating check_version ifk_version if subcommand = setup Finished v1 checking out old bootstrap.py checked out old irrelevant files fixed tidy Moved VERSION from bin/main.rs to lib.rs Fixed semicolon return issue x.py fmt
2020-09-28Bump bootstrap version and update changelogTyler Mandry-1/+1
2020-09-26Rollup merge of #76631 - jyn514:x.py-setup, r=Mark-SimulacrumRalf Jung-3/+16
Add `x.py setup` Closes #76503. - Suggest `x.py setup` if config.toml doesn't exist yet - Prompt for a profile if not given on the command line - Print the configuration that will be used - Print helpful starting commands after setup - Link to the dev-guide after finishing
2020-09-24Add `x.py setup`Joshua Nelson-3/+16
- 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-09-23clarify that `changelog-seen = 1` goes to the beginning of config.tomlMatthias Krüger-1/+1
Fixes #77105
2020-09-21Add a changelog for x.pyJoshua Nelson-0/+35
- Add a changelog and instructions for updating it - Use `changelog-seen` in `config.toml` and `VERSION` in bootstrap to determine whether the changelog has been read - Nag people if they haven't read the x.py changelog + Print message twice to make sure it's seen - Give different error messages depending on whether the version needs to be updated or added
2019-12-22Format the worldMark Rousskov-1/+1
2019-08-27rustbuild: allow disabling deny(warnings) for bootstrapMarc-Antoine Perennou-3/+0
When deny-warnings is not specified or set to true, the behaviour is the same as before. When deny-warnings is set to false, warnings are now allowed Fixes #63911 Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2019-07-28Deny `unused_lifetimes` through rustbuildVadim Petrochenkov-1/+1
2019-07-28Remove lint annotations in specific crates that are already enforced by ↵Vadim Petrochenkov-1/+2
rustbuild Remove some random unnecessary lint `allow`s
2019-02-25Remove some unnecessary 'extern crate'Taiki Endo-2/+0
2018-12-25Remove licensesMark Rousskov-10/+0
2017-08-13Unify flags into config.Mark Simulacrum-4/+3
This introduces a slight change in behavior, where we unilaterally respect the --host and --target parameters passed for all sanity checking and runtime configuration.
2017-06-20Fixes bootstrapping with custom cargo/rustc.Mark Simulacrum-7/+1
config.mk is now always read when parsing the configuration to prevent this from reoccurring in the future, hopefully.
2017-02-04README path correctionking6cong-2/+2
2016-07-05rustbuild: Remove the `build` directoryAlex Crichton-0/+37
The organization in rustbuild was a little odd at the moment where the `lib.rs` was quite small but the binary `main.rs` was much larger. Unfortunately as well there was a `build/` directory with the implementation of the build system, but this directory was ignored by GitHub on the file-search prompt which was a little annoying. This commit reorganizes rustbuild slightly where all the library files (the build system) is located directly inside of `src/bootstrap` and all the binaries now live in `src/bootstrap/bin` (they're small). Hopefully this should allow GitHub to index and allow navigating all the files while maintaining a relatively similar layout to the other libraries in `src/`.