]> git.lizzy.rs Git - rust.git/blob - src/bootstrap/CHANGELOG.md
bootstrap: convert llvm-tools to use Tarball
[rust.git] / src / bootstrap / CHANGELOG.md
1 # Changelog
2
3 All notable changes to bootstrap will be documented in this file.
4
5 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
6
7 ## [Non-breaking changes since the last major version]
8
9 - `x.py check` needs opt-in to check tests (--all-targets) [#77473](https://github.com/rust-lang/rust/pull/77473)
10 - The default bootstrap profiles are now located at `bootstrap/defaults/config.$PROFILE.toml` (previously they were located at `bootstrap/defaults/config.toml.$PROFILE`) [#77558](https://github.com/rust-lang/rust/pull/77558)
11 - If you have Rust already installed, `x.py` will now infer the host target
12   from the default rust toolchain. [#78513](https://github.com/rust-lang/rust/pull/78513)
13
14
15 ## [Version 2] - 2020-09-25
16
17 - `host` now defaults to the value of `build` in all cases
18   + Previously `host` defaulted to an empty list when `target` was overridden, and to `build` otherwise
19
20 ### Non-breaking changes
21
22 - Add `x.py setup` [#76631](https://github.com/rust-lang/rust/pull/76631)
23 - Add a changelog for x.py [#76626](https://github.com/rust-lang/rust/pull/76626)
24 - Optionally, download LLVM from CI on Linux and NixOS. This can be enabled with `download-ci-llvm = true` under `[llvm]`.
25   + [#76439](https://github.com/rust-lang/rust/pull/76349)
26   + [#76667](https://github.com/rust-lang/rust/pull/76667)
27   + [#76708](https://github.com/rust-lang/rust/pull/76708)
28 - Distribute rustc sources as part of `rustc-dev` [#76856](https://github.com/rust-lang/rust/pull/76856)
29 - Make the default stage for x.py configurable [#76625](https://github.com/rust-lang/rust/pull/76625). This can be enabled with `build-stage = N`, `doc-stage = N`, etc.
30 - Add a dedicated debug-logging option [#76588](https://github.com/rust-lang/rust/pull/76588). Previously, `debug-logging` could only be set with `debug-assertions`, slowing down the compiler more than necessary.
31 - Add sample defaults for x.py [#76628](https://github.com/rust-lang/rust/pull/76628)
32 - Add `--keep-stage-std`, which behaves like `keep-stage` but allows the stage
33   0 compiler artifacts (i.e., stage1/bin/rustc) to be rebuilt if changed
34   [#77120](https://github.com/rust-lang/rust/pull/77120).
35
36
37 ## [Version 1] - 2020-09-11
38
39 This is the first changelog entry, and it does not attempt to be an exhaustive list of features in x.py.
40 Instead, this documents the changes to bootstrap in the past 2 months.
41
42 - Improve defaults in `x.py` [#73964](https://github.com/rust-lang/rust/pull/73964)
43   (see [blog post] for details)
44 - Set `ninja = true` by default [#74922](https://github.com/rust-lang/rust/pull/74922)
45 - Avoid trying to inversely cross-compile for build triple from host triples [#76415](https://github.com/rust-lang/rust/pull/76415)
46 - Allow blessing expect-tests in tools [#75975](https://github.com/rust-lang/rust/pull/75975)
47 - `x.py check` checks tests/examples/benches [#76258](https://github.com/rust-lang/rust/pull/76258)
48 - Fix `rust.use-lld` when linker is not set [#76326](https://github.com/rust-lang/rust/pull/76326)
49 - Build tests with LLD if `use-lld = true` was passed [#76378](https://github.com/rust-lang/rust/pull/76378)
50
51 [blog post]: https://blog.rust-lang.org/inside-rust/2020/08/30/changes-to-x-py-defaults.html