<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/bootstrap, branch 1.60.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.60.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.60.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2022-03-14T15:49:31+00:00</updated>
<entry>
<title>bootstrap: correct reading of flags for llvm</title>
<updated>2022-03-14T15:49:31+00:00</updated>
<author>
<name>Jon Gjengset</name>
<email>jongje@amazon.com</email>
</author>
<published>2022-03-01T00:40:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9823bc6952176e04d764e099d7a881483084313c'/>
<id>urn:sha1:9823bc6952176e04d764e099d7a881483084313c</id>
<content type='text'>
First, this reverts the `CFLAGS`/`CXXFLAGS` of #93918. Those flags are
already read by `cc` and populated into `Build` earlier on in the
process. We shouldn't be overriding that based on `CFLAGS`, since `cc`
also respects overrides like `CFLAGS_{TARGET}` and `HOST_CFLAGS`, which
we want to take into account.

Second, this adds the same capability to specify target-specific
versions of `LDFLAGS` as we have through `cc` for the `C*` flags:
https://github.com/alexcrichton/cc-rs#external-configuration-via-environment-variables

Note that this also necessitated an update to compiletest to treat
CXXFLAGS separately from CFLAGS.
</content>
</entry>
<entry>
<title>Statically compile libstdc++ everywhere if asked</title>
<updated>2022-03-14T15:47:57+00:00</updated>
<author>
<name>Jon Gjengset</name>
<email>jongje@amazon.com</email>
</author>
<published>2022-03-08T00:59:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=099acb0c44d5a087fd1580fba699e51bfeacf3f8'/>
<id>urn:sha1:099acb0c44d5a087fd1580fba699e51bfeacf3f8</id>
<content type='text'>
PR #93918 made it so that `-static-libstdc++` was only set in one place,
and was only set during linking, but accidentally also made it so that
it is no longer passed when building LLD or sanitizers, only when
building LLVM itself. This moves the logic for setting
`-static-libstdc++` in the linker flags back to `configure_cmake` so
that it takes effect for all CMake invocations in `native.rs`.

As a side-effect, this also causes libstdc++ to be statically compiled
into sanitizers and LLD if `llvm-tools-enabled` is set but
`llvm-static-stdcpp` is not, even though previously it was only linked
statically if `llvm-static-stdcpp` was set explicitly. But that seems
more like the expected behavior anyway.
</content>
</entry>
<entry>
<title>Temporarily avoid errors on RLS failure in parallel</title>
<updated>2022-02-22T02:34:55+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2022-02-22T02:34:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=07493dd547ae220c321a2c9dcc7cf8602c8257b2'/>
<id>urn:sha1:07493dd547ae220c321a2c9dcc7cf8602c8257b2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #94082 - bjorn3:remove_cfg_platform, r=Mark-Simulacrum</title>
<updated>2022-02-17T22:01:02+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2022-02-17T22:01:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e1bf0694820f2a9e62c66512f40aa767258c1a74'/>
<id>urn:sha1:e1bf0694820f2a9e62c66512f40aa767258c1a74</id>
<content type='text'>
Remove CFG_PLATFORM

It seems to be unused and it is incorrect for arm/aarch64 anyway.
</content>
</entry>
<entry>
<title>Remove CFG_PLATFORM</title>
<updated>2022-02-17T14:32:35+00:00</updated>
<author>
<name>bjorn3</name>
<email>bjorn3@users.noreply.github.com</email>
</author>
<published>2022-02-17T14:32:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=94fd78d4921a8cdfb3ab9415f56c10156ebc413d'/>
<id>urn:sha1:94fd78d4921a8cdfb3ab9415f56c10156ebc413d</id>
<content type='text'>
It seems to be unused and it is incorrect for arm/aarch64 anyway.
</content>
</entry>
<entry>
<title>Auto merge of #93577 - nikic:llvm-14, r=nagisa</title>
<updated>2022-02-17T13:08:46+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2022-02-17T13:08:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=30b3f35c420694a4f24e5a4df00f06073f4f3a37'/>
<id>urn:sha1:30b3f35c420694a4f24e5a4df00f06073f4f3a37</id>
<content type='text'>
Upgrade to LLVM 14

LLVM patch state:
 * [x] https://github.com/llvm/llvm-project/commit/a55727f334b39600bfc71144b11b42aae6b94e0b Backported.
 * [x] https://github.com/rust-lang/llvm-project/commit/c3c82dc12402dd41441180c0c6cf7aed7e330c53 Backported as https://github.com/llvm/llvm-project/commit/917c47b3bf0dfc45a2a5ba12c1397d647ecf4017.
 * [x] https://github.com/rust-lang/llvm-project/commit/6e8f9ab632d12271355d10d34c9835a7ba14e4b9 No plan to upstream.
 * [x] https://github.com/llvm/llvm-project/commit/319f4b2d52e31b000db75a0a2484b5f2ab90534a Backported.
 * [x] https://github.com/rust-lang/llvm-project/commit/8b2c25d321f877161f85218479e2d1317d770e18 No plan to upstream.
 * [x] https://github.com/rust-lang/llvm-project/commit/75fef2efd427362c8f16b2d09e6ebf44069e3919 No plan to upstream.
 * [ ] https://github.com/rust-lang/llvm-project/commit/adef757547de5a570d9f6a00d3e6ac16c666ab79 Upstreamed as https://github.com/llvm/llvm-project/commit/2d2ef384b2f6e723edb793d08f52e7f4dc94ba3a. Needs backport.
 * [x] https://github.com/rust-lang/llvm-project/commit/4b7c1b4910e9fa9e04f23f06be078e168ef4c0ee No plan to upstream.
 * [x] https://github.com/rust-lang/llvm-project/commit/3f5ab0c061adb723f25b94243828b6b5407720c8 No plan to upstream.
 * [x] https://github.com/rust-lang/llvm-project/commit/514d05500e0e15e358f05f5c4cec78a805858f8e No plan to upstream.
 * [ ] https://github.com/rust-lang/llvm-project/commit/54c586958564582b3341d1838a5de86541e5fecf Under review at https://reviews.llvm.org/D119695 and https://reviews.llvm.org/D119856.

Release timeline:
 * LLVM 14.0.0 final planned for Mar 15.
 * Rust 1.60.0 planned for Apr 7.

Compile-time:
  * https://perf.rust-lang.org/compare.html?start=250384edc5d78533e993f38c60d64e42b21684b2&amp;end=b87df8d2c7c5d9ac448c585de10927ab2ee1b864
  * A slight improvement on average, though no big changes either way.
  * There are some larger max-rss improvements.

r? `@ghost`
</content>
</entry>
<entry>
<title>Add cmake directory to llvm source distribution</title>
<updated>2022-02-16T20:15:31+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>npopov@redhat.com</email>
</author>
<published>2022-02-09T16:44:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=200aa5c713c7dd4ada2d136fcb72b8d60f92dc9d'/>
<id>urn:sha1:200aa5c713c7dd4ada2d136fcb72b8d60f92dc9d</id>
<content type='text'>
This directory is required for building LLVM now.
</content>
</entry>
<entry>
<title>Auto merge of #93918 - jonhoo:bootstrap-native-envflags, r=Mark-Simulacrum</title>
<updated>2022-02-15T07:04:10+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2022-02-15T07:04:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6655109f58b7d0f4cae7e04eab476e389c9b9a0f'/>
<id>urn:sha1:6655109f58b7d0f4cae7e04eab476e389c9b9a0f</id>
<content type='text'>
bootstrap: tidy up flag handling for llvm build

This tidies up the logic in `src/bootstrap/native.rs` such that:

 - `CMAKE_*_LINKER_FLAGS` is not overridden if we add to it twice.
 - `CMAKE_*_FLAGS` also include the standard `*FLAGS` environment
   variables, which CMake respects when we _don't_ set `CMAKE_*_FLAGS`.
 - `llvm.ldflags` from `config.toml` appends to the ldflags Rust's
   bootstrap logic adds, rather than replacing them.

It also takes a second stab at #89983 by moving `-static-libstdc++` to just be passed as a linker flag, since that's what it is.

Fixes #93880. Fixes #70468. Closes #89983.
</content>
</entry>
<entry>
<title>Auto merge of #93685 - Mark-Simulacrum:drop-time, r=Mark-Simulacrum</title>
<updated>2022-02-13T15:12:21+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2022-02-13T15:12:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=05d165233794c48217e2e2bb6de8ee9763ea1084'/>
<id>urn:sha1:05d165233794c48217e2e2bb6de8ee9763ea1084</id>
<content type='text'>
Drop time dependency from bootstrap

This was only used for the inclusion of 'current' dates into our manpages, but
it is not clear that this is practically necessary. The manpage is essentially
never updated, and so we can likely afford to keep a manual date in these files.
It also seems possible to just omit it, but that may cause other tools trouble,
so avoid doing that for now.

This is largely done to reduce bootstrap complexity; the time crate is not particularly
small and in #92480 would have started pulling in num-threads, which does runtime
thread count detection. I would prefer to avoid that, so filing this to just drop the nearly
unused dependency entirely.

r? `@pietroalbini`
</content>
</entry>
<entry>
<title>Auto merge of #93956 - matthiaskrgr:rollup-zfk35hb, r=matthiaskrgr</title>
<updated>2022-02-13T07:04:56+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2022-02-13T07:04:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9a60099cc43c8a07abb280be323d1ed9afc27f2c'/>
<id>urn:sha1:9a60099cc43c8a07abb280be323d1ed9afc27f2c</id>
<content type='text'>
Rollup of 9 pull requests

Successful merges:

 - #89926 (make `Instant::{duration_since, elapsed, sub}` saturating and remove workarounds)
 - #90532 (More informative error message for E0015)
 - #93810 (Improve chalk integration)
 - #93851 (More practical examples for `Option::and_then` &amp; `Result::and_then`)
 - #93885 (bootstrap.py: Suggest disabling download-ci-llvm option if url fails to download)
 - #93886 (Stabilise inherent_ascii_escape (FCP in #77174))
 - #93930 (add link to format_args! when mention it in docs)
 - #93936 (Couple of driver cleanups)
 - #93944 (Don't relabel to a team if there is already a team label)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
</content>
</entry>
</feed>
