<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/bootstrap, branch 1.83.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.83.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.83.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2024-10-14T17:23:58+00:00</updated>
<entry>
<title>check `stage0`, `channel` and `version` files for CI rustc</title>
<updated>2024-10-14T17:23:58+00:00</updated>
<author>
<name>onur-ozkan</name>
<email>work@onurozkan.dev</email>
</author>
<published>2024-10-13T14:00:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6af8e028a8d03bb7437ae23bcd8f0367e001330a'/>
<id>urn:sha1:6af8e028a8d03bb7437ae23bcd8f0367e001330a</id>
<content type='text'>
These files have important role for compiler builds, so include them
in the "if-unchanged" rustc logic.

Signed-off-by: onur-ozkan &lt;work@onurozkan.dev&gt;
(cherry picked from commit 6e6cbdd2df0ae5a025c458d95a4c84df1b6af092)
</content>
</entry>
<entry>
<title>Rollup merge of #131334 - heiher:loong-sanitizers, r=Mark-Simulacrum</title>
<updated>2024-10-13T02:38:35+00:00</updated>
<author>
<name>Trevor Gross</name>
<email>t.gross35@gmail.com</email>
</author>
<published>2024-10-13T02:38:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d576cdda7efb7669dd26bd8a93eb78d69417686d'/>
<id>urn:sha1:d576cdda7efb7669dd26bd8a93eb78d69417686d</id>
<content type='text'>
Enable sanitizers for loongarch64-unknown-*

Enable sanitizers for `loongarch64-unknown-linux-{gnu,musl,ohos}` targets.
</content>
</entry>
<entry>
<title>Rollup merge of #130965 - onur-ozkan:bootstrap-step-trait-doc, r=Mark-Simulacrum</title>
<updated>2024-10-12T21:00:56+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2024-10-12T21:00:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ba75f2488818a053bf388afff4211cb8eca72ff5'/>
<id>urn:sha1:ba75f2488818a053bf388afff4211cb8eca72ff5</id>
<content type='text'>
make `Step` doc-comments more clear

Aiming to improve complicated `Step` documentation. Once we merge this, I will update [this page](https://rustc-dev-guide.rust-lang.org/building/bootstrapping/how-bootstrap-does-it.html?highlight=Step#synopsis-of--step) too.
</content>
</entry>
<entry>
<title>Auto merge of #131612 - tgross35:rollup-zy3yg4p, r=tgross35</title>
<updated>2024-10-12T18:28:39+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2024-10-12T18:28:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6b9676b45431a1e531b9c5f7bd289fc36a312749'/>
<id>urn:sha1:6b9676b45431a1e531b9c5f7bd289fc36a312749</id>
<content type='text'>
Rollup of 7 pull requests

Successful merges:

 - #130870 (Add suggestion for removing invalid path sep `::` in fn def)
 - #130954 (Stabilize const `ptr::write*` and `mem::replace`)
 - #131233 (std: fix stdout-before-main)
 - #131590 (yeet some clones)
 - #131596 (mark InterpResult as must_use)
 - #131597 (Take a display name for `tool_check_step!`)
 - #131605 (`LLVMConstInt` only allows integer types)

r? `@ghost`
`@rustbot` modify labels: rollup
</content>
</entry>
<entry>
<title>Auto merge of #131448 - DianQK:fixes-131164, r=onur-ozkan</title>
<updated>2024-10-12T15:40:46+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2024-10-12T15:40:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e200c7f2e1a1ec7691a24539cf191f4c4d9d2a2c'/>
<id>urn:sha1:e200c7f2e1a1ec7691a24539cf191f4c4d9d2a2c</id>
<content type='text'>
Update LLVM submodule

Fixes (maybe after beta backport) #131164.

r? nikic
</content>
</entry>
<entry>
<title>Ignore the `download_ci_llvm` test</title>
<updated>2024-10-12T13:42:11+00:00</updated>
<author>
<name>DianQK</name>
<email>dianqk@dianqk.net</email>
</author>
<published>2024-10-12T13:41:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=49202c7b479c0f9727b303985a7a6e45ae5379d3'/>
<id>urn:sha1:49202c7b479c0f9727b303985a7a6e45ae5379d3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Take a display name for `tool_check_step!`</title>
<updated>2024-10-12T11:12:19+00:00</updated>
<author>
<name>许杰友 Jieyou Xu (Joe)</name>
<email>39484203+jieyouxu@users.noreply.github.com</email>
</author>
<published>2024-10-12T11:12:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=52090f071524263fbe48be2e9eec51635f573f64'/>
<id>urn:sha1:52090f071524263fbe48be2e9eec51635f573f64</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #131305 - onur-ozkan:131303, r=Kobzol</title>
<updated>2024-10-11T06:46:11+00:00</updated>
<author>
<name>Stuart Cook</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2024-10-11T06:46:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c4e7425782d5532c9946bd8d3ec1d5b7a721d2fe'/>
<id>urn:sha1:c4e7425782d5532c9946bd8d3ec1d5b7a721d2fe</id>
<content type='text'>
make `llvm::is_ci_llvm_modified` logic more precise

Fixes #131303.
</content>
</entry>
<entry>
<title>Auto merge of #131444 - onur-ozkan:hotfix-ci, r=Kobzol</title>
<updated>2024-10-10T23:51:17+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2024-10-10T23:51:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=249df9e791e320c92f9c55c06056d8153454b84a'/>
<id>urn:sha1:249df9e791e320c92f9c55c06056d8153454b84a</id>
<content type='text'>
stabilize `ci_rustc_if_unchanged_logic` test

Makes `ci_rustc_if_unchanged_logic` test more stable and re-enables it. Previously, it was expecting CI-rustc to be used all the time when there were no changes, which wasn’t always the case. Purpose of this test is making sure we don't use CI-rustc while there are changes in compiler and/or library, but we don't really need to cover cases where CI-rustc is not enabled.

Second commit was pushed for making a change in the compiler tree, so `ci_rustc_if_unchanged_logic` can be tested properly in merge CI.
</content>
</entry>
<entry>
<title>Rollup merge of #131442 - jieyouxu:mir-opt-rebuild, r=onur-ozkan</title>
<updated>2024-10-10T20:00:49+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2024-10-10T20:00:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=28bc5a2f7fec125faa7a366f4dfbf2d349fbb8fe'/>
<id>urn:sha1:28bc5a2f7fec125faa7a366f4dfbf2d349fbb8fe</id>
<content type='text'>
Match std `RUSTFLAGS` for host and target for `mir-opt` test suite to fix double std build/rebuilds

Previously the bootstrap compiletest `Step::run` flow had:

```rs
// ensure that `libproc_macro` is available on the host.
builder.ensure(compile::Std::new(compiler, compiler.host));

// ...

if suite == "mir-opt" {
    builder.ensure(compile::Std::new_for_mir_opt_tests(compiler, target));
} else {
    builder.ensure(compile::Std::new(compiler, target));
}
```

This can cause unnecessary std rebuilds (even on the same invocation) because if host == target then `builder.ensure(compile::Std::new_for_mir_opt_tests(compiler, target))` will have different `RUSTFLAGS` than `builder.ensure(compile::Std::new(compiler, compiler.host))`.

This PR fixes that by matching up std `RUSTFLAGS` if the test suite is `mir-opt`:

```rs
if suite == "mir-opt" {
    builder.ensure(compile::Std::new_for_mir_opt_tests(compiler, compiler.host));
} else {
    builder.ensure(compile::Std::new(compiler, compiler.host));
}
```

This is a short-term fix, the better fix is to enforce how `RUSTFLAGS` are handled as described in https://github.com/rust-lang/rust/issues/131437#issuecomment-2401710727.

Fixes #131437.
</content>
</entry>
</feed>
