about summary refs log tree commit diff
path: root/src/bootstrap/README.md
AgeCommit message (Collapse)AuthorLines
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!