about summary refs log tree commit diff
path: root/src/bootstrap/README.md
AgeCommit message (Collapse)AuthorLines
2025-09-15improve internal bootstrap docsbinarycat-0/+15
2025-07-09Add `Mode::ToolTarget`Jakub Beránek-1/+1
2025-06-18Clarify bootstrap tool description and change its directory to simply ↵Jakub Beránek-0/+4
`bootstrap-tools`
2025-06-12Add support for snapshot tests with instaJakub Beránek-0/+4
2025-03-17change config.toml to bootstrap.toml for bootstrap modulebit-aloo-1/+1
2024-10-05remove outdated contribution directiononur-ozkan-4/+2
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-07-07use "bootstrap" instead of "rustbuild" in comments and docsonur-ozkan-9/+9
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-05-24Fix the dead link in the bootstrap READMEXinzhao Xu-1/+1
2024-03-11bootstrap readme: fix, improve, updateTshepang Mbambo-13/+14
2023-11-24move CONFIG_CHANGE_HISTORY to its own moduleonur-ozkan-1/+1
Because bootstrap lib is already large and complicated, this should make the "bumping change-id" process easier. Signed-off-by: onur-ozkan <work@onurozkan.dev>
2023-10-02Auto merge of #115898 - onur-ozkan:config-change-tracking, r=Mark-Simulacrumbors-5/+9
bootstrap major change detection implementation The use of `changelog-seen` and `bootstrap/CHANGELOG.md` has not been functional in any way for many years. We often do major/breaking changes but never update the changelog file or the `changelog-seen`. This is an alternative method for tracking major or breaking changes and informing developers when such changes occur. Example output when bootstrap detects a major change: ![image](https://github.com/rust-lang/rust/assets/39852038/ee802dfa-a02b-488b-a433-f853ce079b8a)
2023-10-01add Changelog topic to bootstrap/README.mdonur-ozkan-5/+9
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2023-09-17update the beginning part of `bootstrap/README.md`onur-ozkan-3/+2
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2023-03-11Rename `config.toml.example` to `config.example.toml`Thom Chiovoloni-1/+1
2023-02-04consolidate bootstrap docsozkanonur-161/+38
Signed-off-by: ozkanonur <work@onurozkan.dev>
2023-01-11Change `src/test` to `tests` in source files, fix tidy and testsAlbert Larsan-2/+2
2022-12-23Remove ancient and outdated references to `config.mk`Joshua Nelson-8/+2
2022-10-03Remove trailing whitespacesAnirudh-3/+3
2022-10-03Improve readability of bootstrap's README by adding commas and minor changesAnirudh-32/+32
(cherry picked from commit e5e4b85feba6463310d0fc0c27e8ff38891efac3)
2020-12-29Remove `compile-fail` test suiteVadim Petrochenkov-1/+0
2020-10-12update url in bootstrap README12101111-3/+3
2020-09-21Add a changelog for x.pyJoshua Nelson-0/+14
- 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
2020-09-11Update bootstrap readmeJoshua Nelson-28/+10
- Reflect changes in x.py defaults - Remove recommendation to use nightly for incremental; it works fine on beta - Remove note that incremental chooses stage 1 by default; stage 1 is already the default - Update Discord -> Zulip
2020-08-30mv compiler to compiler/mark-1/+1
2020-07-27mv std libs to library/mark-6/+6
2020-03-09add documentation of x.py tool testingChris Simpkins-0/+3
2019-10-02Replace mentions of IRC with DiscordBO41-3/+5
2019-07-27Remove run-pass test suitesVadim Petrochenkov-5/+5
2018-09-08docs: Use dollar sign for all bash promptsBehnam Esfahbod-9/+9
Making it consistent across the board, as most of them already use `$`. Also split one continues bash run into two, to make it easier see different runs: one with warning and another with error.
2018-05-06Added some simple documentation.kennytm-0/+4
2017-10-19Fix typostopecongiro-2/+2
2017-10-19Remove --enable-rustbuild config option from exampletopecongiro-1/+1
2017-10-13fix typo in src/bootstrap/README.mdAlexander Kuleshov-1/+1
2017-10-08Fix typo in READMEjohnthagen-1/+1
2017-08-27rustbuild: Rewrite the configure script in PythonAlex Crichton-4/+3
This commit rewrites our ancient `./configure` script from shell into Python. The impetus for this change is to remove `config.mk` which is just a vestige of the old makefile build system at this point. Instead all configuration is now solely done through `config.toml`. The python script allows us to more flexibly program (aka we can use loops easily) and create a `config.toml` which is based off `config.toml.example`. This way we can preserve comments and munge various values as we see fit. It is intended that the configure script here is a drop-in replacement for the previous configure script, no functional change is intended. Also note that the rationale for this is also because our build system requires Python, so having a python script a bit earlier shouldn't cause too many problems. Closes #40730
2017-08-21Update rustbuild READMEMark Simulacrum-16/+20
2017-08-11Move config.toml.example to the root dirSteven Fackler-1/+1
It's way more discoverable here.
2017-04-19remove disclaimer from bootstrap/README.mdAlex Burka-4/+0
2017-02-21test: Verify all sysroot crates are unstableAlex Crichton-2/+2
As we continue to add more crates to the compiler and use them to implement various features we want to be sure we're not accidentally expanding the API surface area of the compiler! To that end this commit adds a new `run-make` test which will attempt to `extern crate foo` all crates in the sysroot, verifying that they're all unstable. This commit discovered that the `std_shim` and `test_shim` crates were accidentally stable and fixes the situation by deleting those shims. The shims are no longer necessary due to changes in Cargo that have happened since they were originally incepted.
2016-12-22Correct path of incremental artifactsAidan Hobson Sayers-1/+1
2016-12-19add and document `--incremental` flag along with misc other changesNiko Matsakis-0/+36
For example: - we now support `-vv` to get very verbose output. - RUSTFLAGS is respected by `x.py` - better error messages for some cases
2016-12-15Auto merge of #38331 - bluss:assume-stage, r=alexcrichtonbors-0/+9
rustbuild: Add cli option --keep-stage This option is intended to be used like: ./x.py build --stage 1 --keep-stage 0 Which skips all stage 0 steps, so that stage 1 can be recompiled directly (even if for example libcore has changes). This is useful when working on `cfg(not(stage0))` parts of the libraries or when re-running stage 1 tests in libraries in general. Fixes #38326
2016-12-15rustbuild: Add small description of --keep-stageUlrik Sverdrup-0/+9
2016-12-14Document --test-args for rustbuildSeo Sanghyeon-2/+2
2016-12-07mk: Switch rustbuild to the default build systemAlex Crichton-16/+13
This commit switches the default build system for Rust from the makefiles to rustbuild. The rustbuild build system has been in development for almost a year now and has become quite mature over time. This commit is an implementation of the proposal on [internals] which slates deletion of the makefiles on 2016-01-02. [internals]: https://internals.rust-lang.org/t/proposal-for-promoting-rustbuild-to-official-status/4368 This commit also updates various documentation in `README.md`, `CONTRIBUTING.md`, `src/bootstrap/README.md`, and throughout the source code of rustbuild itself. Closes #37858
2016-11-29bootstrap/README: fix small typoDoug Goldstein-1/+1
2016-11-02rustbuild: Rewrite user-facing interfaceAlex Crichton-11/+59
This commit is a rewrite of the user-facing interface to the rustbuild build system. The intention here is to make it much easier to compile/test the project without having to remember weird rule names and such. An overall view of the new interface is: # build everything ./x.py build # document everyting ./x.py doc # test everything ./x.py test # test libstd ./x.py test src/libstd # build libcore stage0 ./x.py build src/libcore --stage 0 # run stage1 run-pass tests ./x.py test src/test/run-pass --stage 1 The `src/bootstrap/bootstrap.py` script is now aliased as a top-level `x.py` script. This `x` was chosen to be both short and easily tab-completable (no collisions in that namespace!). The build system now accepts a "subcommand" of what to do next, the main ones being build/doc/test. Each subcommand then receives an optional list of arguments. These arguments are paths in the source repo of what to work with. That is, if you want to test a directory, you just pass that directory as an argument. The purpose of this rewrite is to do away with all of the arcane renames like "rpass" is the "run-pass" suite, "cfail" is the "compile-fail" suite, etc. By simply working with directories and files it's much more intuitive of how to run a test (just pass it as an argument). The rustbuild step/dependency management was also rewritten along the way to make this easy to work with and define, but that's largely just a refactoring of what was there before. The *intention* is that this support is extended for arbitrary files (e.g. `src/test/run-pass/my-test-case.rs`), but that isn't quite implemented just yet. Instead directories work for now but we can follow up with stricter path filtering logic to plumb through all the arguments.
2016-06-22Fix typo in bootstrap READMEFabian Vogt-1/+1
"boostrap" instead of "bootstrap"
2016-05-03rustbuild: Document many more parts of the buildAlex Crichton-6/+136
This commit expands the bootstrap build system's `README.md` as well as ensuring that all API documentation is present and up-to-date. Additionally a new `config.toml.example` file is checked in with commented out versions of all possible configuration values.
2016-02-11Add a Cargo-based build systemAlex Crichton-0/+110
This commit is the start of a series of commits which start to replace the makefiles with a Cargo-based build system. The aim is not to remove the makefiles entirely just yet but rather just replace the portions that invoke the compiler to do the bootstrap. This commit specifically adds enough support to perform the bootstrap (and all the cross compilation within) along with generating documentation. More commits will follow up in this series to actually wire up the makefiles to call this build system, so stay tuned!