<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/bootstrap/cc_detect.rs, branch 1.68.2</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.68.2</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.68.2'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2022-12-14T19:33:08+00:00</updated>
<entry>
<title>Update CI to use Android NDK r25b</title>
<updated>2022-12-14T19:33:08+00:00</updated>
<author>
<name>Chris Wailes</name>
<email>chriswailes@google.com</email>
</author>
<published>2022-09-26T22:50:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0fb426ace4ed07bc023863ebd8103ac49fba1283'/>
<id>urn:sha1:0fb426ace4ed07bc023863ebd8103ac49fba1283</id>
<content type='text'>
This commit updates the CI definitions to use the most recent Android
LTS NDK release: r25b.  Changes since the last NDK used by Rust negate
the need to generate "standalone toolchains" and newer NDKs can be used
in-place.

See https://developer.android.com/ndk/guides/other_build_systems#overview
</content>
</entry>
<entry>
<title>Revert "Update CI to use Android NDK r25b"</title>
<updated>2022-11-20T02:48:26+00:00</updated>
<author>
<name>Alex Pinkus</name>
<email>pinkus@amazon.com</email>
</author>
<published>2022-11-20T01:50:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6f1c7b24705d8e744ddea9b445cb70e0a0d328cb'/>
<id>urn:sha1:6f1c7b24705d8e744ddea9b445cb70e0a0d328cb</id>
<content type='text'>
This reverts commit bf7f1ca316a249cf99d722d79a0db12fef687142.
</content>
</entry>
<entry>
<title>set correct default value for cc and cxx on android</title>
<updated>2022-11-17T08:37:39+00:00</updated>
<author>
<name>Pietro Albini</name>
<email>pietro.albini@ferrous-systems.com</email>
</author>
<published>2022-11-03T14:01:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6d8160261ff3aee3b6eaacc37ac96cafff530980'/>
<id>urn:sha1:6d8160261ff3aee3b6eaacc37ac96cafff530980</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update CI to use Android NDK r25b</title>
<updated>2022-10-04T19:14:14+00:00</updated>
<author>
<name>Chris Wailes</name>
<email>chriswailes@google.com</email>
</author>
<published>2022-09-26T22:50:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bf7f1ca316a249cf99d722d79a0db12fef687142'/>
<id>urn:sha1:bf7f1ca316a249cf99d722d79a0db12fef687142</id>
<content type='text'>
This commit updates the CI definitions to use the most recent Android
LTS NDK release: r25b.  Changes since the last NDK used by Rust negate
the need to generate "standalone toolchains" and newer NDKs can be used
in-place.

See https://developer.android.com/ndk/guides/other_build_systems#overview
</content>
</entry>
<entry>
<title>Ensure that `static_crt` is set in the bootstrapper whenever using `cc` to get a compiler command line.</title>
<updated>2022-06-27T18:46:57+00:00</updated>
<author>
<name>Daniel Paoliello</name>
<email>danpao@microsoft.com</email>
</author>
<published>2022-06-23T20:05:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1fca2468420bb5ac2f6868bddc65e164dd05dbfb'/>
<id>urn:sha1:1fca2468420bb5ac2f6868bddc65e164dd05dbfb</id>
<content type='text'>
When attempting to build rustc with LLVM on Windows, I noticed that the CRT flag provided to the C and C++ Compilers was inconsistent:

```
"-DCMAKE_C_FLAGS=-nologo -MT -Brepro" "-DCMAKE_CXX_FLAGS=-nologo -MD -Brepro"
```

Since the bootstrapper also sets the various `LLVM_USE_CRT` variables, this resulted in cl.exe reporting a bunch of warnings:

```
cl : Command line warning D9025 : overriding '/MD' with '/MT'
```

The root cause for this is that `cc_detect::find` was creating a `cc::Build` twice, but didn't set `static_crt` the second time.

It's possible that this what is also causing #81381
</content>
</entry>
<entry>
<title>Respect ranlib specified for target during LLVM build</title>
<updated>2022-04-15T14:51:09+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2022-04-15T14:51:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=dcc3554c62d611ab5b9182f11a4954294832365b'/>
<id>urn:sha1:dcc3554c62d611ab5b9182f11a4954294832365b</id>
<content type='text'>
The ranlib specified for the target was never actually transferred
into the builder configuration. In the dist-x86_64-linux build we
ended up using ranlib instead of llvm-ranlib.
</content>
</entry>
<entry>
<title>Merge build_helper into util</title>
<updated>2022-03-05T14:31:22+00:00</updated>
<author>
<name>bjorn3</name>
<email>bjorn3@users.noreply.github.com</email>
</author>
<published>2022-03-03T17:15:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e657da72aa4bd7ed5edda194b770903ea0cf1dd1'/>
<id>urn:sha1:e657da72aa4bd7ed5edda194b770903ea0cf1dd1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove build_helper</title>
<updated>2022-03-05T14:31:22+00:00</updated>
<author>
<name>bjorn3</name>
<email>bjorn3@users.noreply.github.com</email>
</author>
<published>2022-02-24T12:30:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0cfc3e101689d050432f600a35e953413b87147f'/>
<id>urn:sha1:0cfc3e101689d050432f600a35e953413b87147f</id>
<content type='text'>
The majority of the code is only used by either rustbuild or
rustc_llvm's build script. Rust_build is compiled once for rustbuild and
once for every stage. This means that the majority of the code in this
crate is needlessly compiled multiple times. By moving only the code
actually used by the respective crates to rustbuild and rustc_llvm's
build script, this needless duplicate compilation is avoided.
</content>
</entry>
<entry>
<title>bootstrap: correct reading of flags for llvm</title>
<updated>2022-03-03T17:42:23+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=9c05f0b72c99cc91117282f7f267964824f187bf'/>
<id>urn:sha1:9c05f0b72c99cc91117282f7f267964824f187bf</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>bootstrap: fall back to auto-detected CXX</title>
<updated>2020-10-19T14:37:04+00:00</updated>
<author>
<name>Jonas Schievink</name>
<email>jonasschievink@gmail.com</email>
</author>
<published>2020-10-14T12:27:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0558e6eb9337960a1415e037ae7a44e3aa947479'/>
<id>urn:sha1:0558e6eb9337960a1415e037ae7a44e3aa947479</id>
<content type='text'>
This allows us to use the C++ compiler configured via
`CXX_target_triple` env vars
</content>
</entry>
</feed>
