Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automated pull from upstream master #935

Merged
merged 378 commits into from
Sep 12, 2024

Conversation

github-actions[bot]
Copy link
Contributor

This PR pulls the following changes from the upstream repository:

bors and others added 30 commits September 4, 2024 02:55
Update x86_64-linux host compiler to LLVM 19 rc 3
…nieu

[nightly] Fix CVE-2024-43402

Include the for CVE-2024-43402 in nightly. See [GHSA-2xg3-7mm6-98jj](GHSA-2xg3-7mm6-98jj) for more information about it.

r? `@ghost`
Rollup of 9 pull requests

Successful merges:

 - #127692 (Suggest `impl Trait` for References to Bare Trait in Function Header)
 - #128701 (Don't Suggest Labeling `const` and `unsafe` Blocks )
 - #128934 (Non-exhaustive structs may be empty)
 - #129630 (Document the broken C ABI of `wasm32-unknown-unknown`)
 - #129863 (update comment regarding TargetOptions.features)
 - #129896 (do not attempt to prove unknowable goals)
 - #129926 (Move `SanityCheck` and `MirPass`)
 - #129928 (rustc_driver_impl: remove some old dead logic)
 - #129930 (include 1.80.1 release notes on master)

r? `@ghost`
`@rustbot` modify labels: rollup
enable -Zrandomize-layout in debug CI builds

This builds rustc/libs/tools with `-Zrandomize-layout` on *-debug CI runners.

Only a handful of tests and asserts break with that enabled, which is promising. One test was fixable, the rest is dealt with by disabling them through new cargo features or compiletest directives.

The config.toml flag `rust.randomize-layout` defaults to false, so it has to be explicitly enabled for now.
rustdoc: add header map to the table of contents

## Summary

Add header sections to the sidebar TOC.

### Preview

![image](https://github.com/user-attachments/assets/eae4df02-86aa-4df4-8c61-a95685cd8829)

* http://notriddle.com/rustdoc-html-demo-9/toc/rust/std/index.html
* http://notriddle.com/rustdoc-html-demo-9/toc/rust-derive-builder/derive_builder/index.html

## Motivation

Some pages are very wordy, like these.

| crate | word count |
|--|--|
| [std::option](https://doc.rust-lang.org/stable/std/option/index.html) | 2,138
| [derive_builder](https://docs.rs/derive_builder/0.13.0/derive_builder/index.html) | 2,403
| [tracing](https://docs.rs/tracing/0.1.40/tracing/index.html) | 3,912
| [regex](https://docs.rs/regex/1.10.3/regex/index.html) | 8,412

This kind of very long document is more navigable with a table of contents, like Wikipedia's or the one [GitHub recently added](https://github.blog/changelog/2021-04-13-table-of-contents-support-in-markdown-files/) for READMEs.

In fact, the use case is so compelling, that it's been requested multiple times and implemented in an extension:

* rust-lang/rust#80858
* rust-lang/rust#28056
* rust-lang/rust#14475
* https://rust.extension.sh/#show-table-of-content

(Some of these issues ask for more than this, so don’t close them.)

It's also been implemented by hand in some crates, because the author really thought it was needed. Protip: for a more exhaustive list, run [`site:docs.rs table of contents`](https://duckduckgo.com/?t=ffab&q=site:docs.rs table of contents&ia=web), though some of them are false positives.

* https://docs.rs/figment/0.10.14/figment/index.html#table-of-contents
* https://docs.rs/csv/1.3.0/csv/tutorial/index.html#table-of-contents
* https://docs.rs/axum/0.7.4/axum/response/index.html#table-of-contents
* https://docs.rs/regex-automata/0.4.5/regex_automata/index.html#table-of-contents

Unfortunately for these hand-built ToCs, because they're just part of the docs, there's no consistent way to turn them off if the reader doesn't want them. It's also more complicated to ensure they stay in sync with the docs they're supposed to describe, and they don't stay with you when you scroll like Wikipedia's [does now](https://uxdesign.cc/design-notes-on-the-2023-wikipedia-redesign-d6573b9af28d).

## Guide-level explanation

When writing docs for a top-level item, the first and second level of headers will be shown in an outline in the sidebar. In this context, "top level" means "not associated".

This means, if you're writing very long guides or explanations, and you want it to have a table of contents in the sidebar for its headings, the ideal place to attach it is usually the *module* or *crate*, because this page has fewer other things on it (and is the ideal place to describe "cross-cutting concerns" for its child items).

If you're reading documentation, and want to get rid of the table of contents, open the ![image](https://github.com/rust-lang/rust/assets/1593513/2ad82466-5fe3-4684-b1c2-6be4c99a8666) Settings panel and checkmark "Hide table of contents."

## Reference-level explanation

Top-level items have an outline generated. This works for potentially-malformed header trees by pairing a header with the nearest header with a higher level. For example:

```markdown
## A
# B
# C
## D
## E
```

A, B, and C are all siblings, and D and E are children of C.

Rustdoc only presents two layers of tree, but it tracks up to the full depth of 6 while preparing it.

That means that these two doc comment both generate the same outline:

```rust
/// # First
/// ## Second
struct One;
/// ## First
/// ### Second
struct Two;
```

## Drawbacks

The biggest drawback is adding more stuff to the sidebar.

My crawl through docs.rs shows this to, surprisingly, be less of a problem than I thought. The manually-built tables of contents, and the pages with dozens of headers, usually seem to be modules or crates, not types (where extreme scrolling would become a problem, since they already have methods to deal with).

The best example of a type with many headers is [vec::Vec](https://doc.rust-lang.org/1.75.0/std/vec/struct.Vec.html), which still only has five headers, not dozens like [axum::extract](https://docs.rs/axum/0.7.4/axum/extract/index.html).

## Rationale and alternatives

### Why in the existing sidebar?

The method links and the top-doc header links have more in common with each other than either of them do with the "In [parent module]" links, and should go together.

### Why limited to two levels?

The sidebar is pretty narrow, and I don't want too much space used by indentation. Making the sidebar wider, while it has some upsides, also takes up more space on middling-sized screens or tiled WMs.

### Why not line wrap?

That behaves strangely when resizing.

## Prior art

### Doc generators that have TOC for headers

https://hexdocs.pm/phoenix/Phoenix.Controller.html is very close, in the sense that it also has header sections directly alongside functions and types.

Another example, referenced as part of the [early sidebar discussion](rust-lang/rust#37856) that added methods, Ruby will show a table of contents in the sidebar (for example, on the [ARGF](https://docs.ruby-lang.org/en/master/ARGF.html) class). According to their changelog, [they added it in 2013](https://github.com/ruby/rdoc/blob/06137bde8ccc48cd502bc28178bcd8f2dfe37624/History.rdoc#400--2013-02-24-).

Haskell seems to mix text and functions even more freely than Elixir. For example, this [Naming conventions](https://hackage.haskell.org/package/base-4.19.0.0/docs/Control-Monad.html#g:3) is plain text, and is immediately followed by functions. And the [Pandoc top level](https://hackage.haskell.org/package/pandoc-3.1.11.1/docs/Text-Pandoc.html) has items split up by function, rather than by kind. Their TOC matches exactly with the contents of the page.

### Doc generators that don't have header TOC, but still have headers

Elm, interestingly enough, seems to have the same setup that Rust used to have: sibling navigation between modules, and no index within a single page. [They keep Haskell's habit of named sections with machine-generated type signatures](https://package.elm-lang.org/packages/elm/browser/latest/Browser-Dom), though.

[PHP](https://www.php.net/manual/en/book.datetime.php), like elm, also has a right-hand sidebar with sibling navigation. However, PHP has a single page for a single method, unlike Rust's page for an entire "class." So even though these pages have headers, it's never more than ten at most. And when they have guides, those guides are also multi-page.

## Unresolved questions

* Writing recommendations for anyone who wants to take advantage of this.
* Right now, it does not line wrap. That might be a bad idea: a lot of these are getting truncated.
* Split sidebars, which I [tried implementing](https://rust-lang.zulipchat.com/#narrow/stream/266220-t-rustdoc/topic/Table.20of.20contents), are not required. The TOC can be turned off, if it's really a problem. Implemented in rust-lang/rust#120818, but needs more, separate, discussion.

## Future possibilities

I would like to do a better job of distinguishing global navigation from local navigation. Rustdoc has a pretty reasonable information architecture, if only we did a better job of communicating it.

This PR aims, mostly, to help doc authors help their users by writing docs that can be more effectively skimmed. But it doesn't do anything to make it easier to tell the TOC and the Module Nav apart.
…m-xilinx-zedboard, r=tgross35

Add target support for RTEMS Arm

# `armv7-rtems-eabihf`

This PR adds a new target for the RTEMS RTOS. To get things started it focuses on Xilinx/AMD Zynq-based targets, but in theory it should also support other armv7-based board support packages in the future.
Given that RTEMS has support for many POSIX functions it is mostly enabling corresponding unix features for the new target.
I also previously started a PR in libc (rust-lang/libc#3561) to add the needed OS specific C-bindings and was told that a PR in this repo is needed first. I will update the PR to the newest version after approval here.
I will probably also need to change one line in the backtrace repo.

Current status is that I could compile rustc for the new target locally (with the updated libc and backtrace) and could compile binaries, link, and execute a simple "Hello World" RTEMS application for the target hardware.

> A proposed target or target-specific patch that substantially changes code shared with other targets (not just target-specific code) must be reviewed and approved by the appropriate team for that shared code before acceptance.

There should be no breaking changes for existing targets. Main changes are adding corresponding `cfg` switches for the RTEMS OS and adding the C binding in libc.

# Tier 3 target policy

> - A tier 3 target must have a designated developer or developers (the "target maintainers") on record to be CCed when issues arise regarding the target. (The mechanism to track and CC such developers may evolve over time.)

I will do the maintenance (for now) further members of the RTEMS community will most likely join once the first steps have been done.

> - Targets must use naming consistent with any existing targets; for instance, a target for the same CPU or OS as an existing Rust target should use the same name for that CPU or OS. Targets should normally use the same names and naming conventions as used elsewhere in the broader ecosystem beyond Rust (such as in other toolchains), unless they have a very good reason to diverge. Changing the name of a target can be highly disruptive, especially once the target reaches a higher tier, so getting the name right is important even for a tier 3 target.
>     - Target names should not introduce undue confusion or ambiguity unless absolutely necessary to maintain ecosystem compatibility. For example, if the name of the target makes people extremely likely to form incorrect beliefs about what it targets, the name should be changed or augmented to disambiguate it.
>     - If possible, use only letters, numbers, dashes and underscores for the name. Periods (`.`) are known to cause issues in Cargo.

The proposed triple is `armv7-rtems-eabihf`

> - Tier 3 targets may have unusual requirements to build or use, but must not create legal issues or impose onerous legal terms for the Rust project or for Rust developers or users.
>     - The target must not introduce license incompatibilities.
>     - Anything added to the Rust repository must be under the standard Rust license (`MIT OR Apache-2.0`).
>     - The target must not cause the Rust tools or libraries built for any other host (even when supporting cross-compilation to the target) to depend on any new dependency less permissive than the Rust licensing policy. This applies whether the dependency is a Rust crate that would require adding new license exceptions (as specified by the `tidy` tool in the rust-lang/rust repository), or whether the dependency is a native library or binary. In other words, the introduction of the target must not cause a user installing or running a version of Rust or the Rust tools to be subject to any new license requirements.
>     - Compiling, linking, and emitting functional binaries, libraries, or other code for the target (whether hosted on the target itself or cross-compiling from another target) must not depend on proprietary (non-FOSS) libraries. Host tools built for the target itself may depend on the ordinary runtime libraries supplied by the platform and commonly used by other applications built for the target, but those libraries must not be required for code generation for the target; cross-compilation to the target must not require such libraries at all. For instance, `rustc` built for the target may depend on a common proprietary C runtime library or console output library, but must not depend on a proprietary code generation library or code optimization library. Rust's license permits such combinations, but the Rust project has no interest in maintaining such combinations within the scope of Rust itself, even at tier 3.
>     - "onerous" here is an intentionally subjective term. At a minimum, "onerous" legal/licensing terms include but are _not_ limited to: non-disclosure requirements, non-compete requirements, contributor license agreements (CLAs) or equivalent, "non-commercial"/"research-only"/etc terms, requirements conditional on the employer or employment of any particular Rust developers, revocable terms, any requirements that create liability for the Rust project or its developers or users, or any requirements that adversely affect the livelihood or prospects of the Rust project or its developers or users.

The tools consists of the cross-compiler toolchain (gcc-based). The RTEMS kernel (BSD license) and parts of the driver stack of FreeBSD (BSD license). All tools are FOSS and publicly available here: https://gitlab.rtems.org/rtems
There are also no new features or dependencies introduced to the Rust code.

> - Neither this policy nor any decisions made regarding targets shall create any binding agreement or estoppel by any party. If any member of an approving Rust team serves as one of the maintainers of a target, or has any legal or employment requirement (explicit or implicit) that might affect their decisions regarding a target, they must recuse themselves from any approval decisions regarding the target's tier status, though they may otherwise participate in discussions.

N/A to me. I am not a reviewer nor Rust team member.

> - Tier 3 targets should attempt to implement as much of the standard libraries as possible and appropriate (`core` for most targets, `alloc` for targets that can support dynamic memory allocation, `std` for targets with an operating system or equivalent layer of system-provided functionality), but may leave some code unimplemented (either unavailable or stubbed out as appropriate), whether because the target makes it impossible to implement or challenging to implement. The authors of pull requests are not obligated to avoid calling any portions of the standard library on the basis of a tier 3 target not implementing those portions.

`core` and `std` compile. Some advanced features of the `std` lib might not work yet. However, the goal of this tier 3 target it to make it easier for other people to build and run test applications to better identify the unsupported features and work towards enabling them.

> - The target must provide documentation for the Rust community explaining how to build for the target, using cross-compilation if possible. If the target supports running binaries, or running tests (even if they do not pass), the documentation must explain how to run such binaries or tests for the target, using emulation if possible or dedicated hardware if necessary.

Building is described in platform support doc. Running simple unit tests works. Running the test suite of the stdlib is currently not that easy. Trying to work towards that after the this target has been added to the nightly.

> - Tier 3 targets must not impose burden on the authors of pull requests, or other developers in the community, to maintain the target. In particular, do not post comments (automated or manual) on a PR that derail or suggest a block on the PR based on a tier 3 target. Do not send automated messages or notifications (via any medium, including via ````@`)``` to a PR author or others involved with a PR regarding a tier 3 target, unless they have opted into such messages.

Understood.

>     - Backlinks such as those generated by the issue/PR tracker when linking to an issue or PR are not considered a violation of this policy, within reason. However, such messages (even on a separate repository) must not generate notifications to anyone involved with a PR who has not requested such notifications.

Ok

> - Patches adding or updating tier 3 targets must not break any existing tier 2 or tier 1 target, and must not knowingly break another tier 3 target without approval of either the compiler team or the maintainers of the other tier 3 target.
>     - In particular, this may come up when working on closely related targets, such as variations of the same architecture with different features. Avoid introducing unconditional uses of features that another variation of the target may not have; use conditional compilation or runtime detection, as appropriate, to let each target run code supported by that target.

I think, I didn't add any breaking changes for any existing targets (see the comment regarding features above).

> - Tier 3 targets must be able to produce assembly using at least one of rustc's supported backends from any host target.

Can produce assembly code via the llvm backend (tested on Linux).

>
> If a tier 3 target stops meeting these requirements, or the target maintainers no longer have interest or time, or the target shows no signs of activity and has not built for some time, or removing the target would improve the quality of the Rust codebase, we may post a PR to remove it; any such PR will be CCed to the target maintainers (and potentially other people who have previously worked on the target), to check potential interest in improving the situation.GIAt this tier, the Rust project provides no official support for a target, so we place minimal requirements on the introduction of targets.

Understood.

r? compiler-team
CI: rfl: add more tools and steps

This will add some time for the tool building -- the actual steps should be quick, though, and allows us to cover quite a few more tools and unstable features in use.

Please see the individual commits for a few details.

Cc: `@GuillaumeGomez` `@tgross35`
r? `@Kobzol`
try-job: x86_64-rust-for-linux
…larsan68

warn the user if the upstream master branch is old

fixes rust-lang/rust#129528
…ture-gate, r=wesleywiser

Arbitrary self types v2: pointers feature gate.

The main `arbitrary_self_types` feature gate will shortly be reused for a new version of arbitrary self types which we are amending per [this RFC](https://github.com/rust-lang/rfcs/blob/master/text/3519-arbitrary-self-types-v2.md). The main amendments are:

* _do_ support `self` types which can't safely implement `Deref`
* do _not_ support generic `self` types
* do _not_ support raw pointers as `self` types.

This PR relates to the last of those bullet points: this strips pointer support from the current `arbitrary_self_types` feature. We expect this to cause some amount of breakage for crates using this unstable feature to allow raw pointer self types. If that's the case, we want to know about it, and we want crate authors to know of the upcoming changes.

For now, this can be resolved by adding the new
`arbitrary_self_types_pointers` feature to such crates. If we determine that use of raw pointers as self types is common, then we may maintain that as an unstable feature even if we come to stabilize the rest of the `arbitrary_self_types` support in future. If we don't hear that this PR is causing breakage, then perhaps we don't need it at all, even behind an unstable feature gate.

[Tracking issue](rust-lang/rust#44874)

This is [step 4 of the plan outlined here](rust-lang/rust#44874 (comment))
…petrochenkov

Make supertrait and implied predicates queries defaulted

r? `@ghost` only last commit is meaningful
Update docs of `missing_abi` lint

The lint docs still said that function ABIs other than "C" have not been added yet.

`@rustbot` labels:  A-docs  A-lint
Stabilize `waker_getters`

Tracking issue: #96992

FCP completed on the tracking issue a while ago. It's not clear whether the libs-api team wanted the `RawWaker` methods moved to `Waker` or went back to the current API after further discussion. `@Amanieu` [wrote "This is just waiting for someone to submit a stabilization PR."](rust-lang/rust#96992 (comment)) so I'm doing just that in hopes of nudging this along.

Edit: Moved the `data` and `vtable` methods from `RawWaker` to `Waker` and added `Waker::new` per rust-lang/rust#96992 (comment)

```rs
impl Waker {
  pub const unsafe fn new(data: *const (), vtable: &'static RawWakerVTable) -> Self;
  pub fn data(&self) -> *const ();
  pub fn vtable(&self) -> &'static RawWakerVTable;
}
```

Closes #96992
remove deprecated option `rust.split-debuginfo`

This option was deprecated in February, it should be safe to remove it now.
- Merge minimum OS version list into one function (makes it easier to
  see the logic in it).
- Parse patch deployment target versions.
- Consistently specify deployment target in LLVM target (previously
  omitted on `aarch64-apple-watchos`).
Rollup of 10 pull requests

Successful merges:

 - #101339 (enable -Zrandomize-layout in debug CI builds )
 - #120736 (rustdoc: add header map to the table of contents)
 - #127021 (Add target support for RTEMS Arm)
 - #128928 (CI: rfl: add more tools and steps)
 - #129584 (warn the user if the upstream master branch is old)
 - #129664 (Arbitrary self types v2: pointers feature gate.)
 - #129752 (Make supertrait and implied predicates queries defaulted)
 - #129918 (Update docs of `missing_abi` lint)
 - #129919 (Stabilize `waker_getters`)
 - #129925 (remove deprecated option `rust.split-debuginfo`)

Failed merges:

 - #129789 (rustdoc: use strategic boxing to shrink `clean::Item`)

r? `@ghost`
`@rustbot` modify labels: rollup
matthiaskrgr and others added 11 commits September 9, 2024 20:20
Fix ICE caused by missing span in a region error

Fixes #130012

The ICE occurs on line 634 in this error handling code: https://github.com/rust-lang/rust/blob/085744b7ad8b227239bcee0a44cd78dcd0310ab9/compiler/rustc_trait_selection/src/error_reporting/infer/region.rs#L617-L637 It is caused by the span being a dummy span and `!span.is_dummy()` on line 628 evaluating to `false`.

A dummy span, however, is expected here thanks to the `Self: Trait` predicate from `predicates_of` (see line 61): https://github.com/rust-lang/rust/blob/085744b7ad8b227239bcee0a44cd78dcd0310ab9/compiler/rustc_hir_analysis/src/collect/predicates_of.rs#L61-L69

This PR changes the error handling code to omit the note which needed the span instead of ICE'ing in the presence of a dummy span.
Update books

## rust-lang/edition-guide

1 commits in eeba2cb9c37ab74118a4fb5e5233f7397e4a91f8..b3ca7ade0f87d7e3fb538776defc5b2cc4188172
2024-09-03 22:59:56 UTC to 2024-09-03 22:59:56 UTC

- Rename `static_mut_refs` file to plural

## rust-embedded/book

1 commits in ff5d61d56f11e1986bfa9652c6aff7731576c37d..dbae36bf3f8410aa4313b3bad42e374735d48a9d
2024-09-04 20:49:11 UTC to 2024-09-04 20:49:11 UTC

- Fix small error in c bindings (rust-embedded/book#377)

## rust-lang/reference

6 commits in 0668397076da350c404dadcf07b6cbc433ad3743..687faf9958c52116d003b41dfd29cc1cf44f5311
2024-09-03 20:21:23 UTC to 2024-08-29 01:11:29 UTC

- `asm!`: clarify that `nomem` / `readonly` can access private memory (rust-lang/reference#1598)
- Switch warning blocks to use admonitions (rust-lang/reference#1595)
- dont use stdcall on x86_64 where it is not a valid ABI (rust-lang/reference#1600)
- Add capturing and precise capturing rules (rust-lang/reference#1577)
- Add a prefix to rule HTML IDs (rust-lang/reference#1593)
- Add a description of rule identifiers (rust-lang/reference#1863)

## rust-lang/rust-by-example

2 commits in 859786c5bc99301bbc22fc631a5c2b341860da08..c79ec345f08a1e94494cdc8c999709a90203fd88
2024-09-08 13:24:48 UTC to 2024-09-08 13:24:08 UTC

- Fix typo in conversion/from_into (rust-lang/rust-by-example#1882)
- Corrected x values for example rectangle (rust-lang/rust-by-example#1884)

## rust-lang/rustc-dev-guide

9 commits in fa928a6d19e1666d8d811dfe3fd35cdad3b4e459..0ed9229f5b6f7824b333beabd7e3d5ba4b9bd971
2024-09-09 10:58:45 UTC to 2024-08-31 13:02:08 UTC

- fix some comments (rust-lang/rustc-dev-guide#2059)
- Fix a link and create an implied internal link  (rust-lang/rustc-dev-guide#2051)
- link to additional LLVM update PRs (rust-lang/rustc-dev-guide#2055)
- fix/improve rdg contributing howto (rust-lang/rustc-dev-guide#2056)
- fixed the typo (rust-lang/rustc-dev-guide#2058)
- fix typo maker -> marker (thanks `@lholten)` (rust-lang/rustc-dev-guide#2057)
- improve query system documentation (rust-lang/rustc-dev-guide#2041)
- add section on overlap checks (rust-lang/rustc-dev-guide#2042)
- clarify the role of rustc_const_unstable (rust-lang/rustc-dev-guide#2045)
Rollup of 9 pull requests

Successful merges:

 - #129929 (`rustc_mir_transform` cleanups, round 2)
 - #130022 (Dataflow/borrowck lifetime cleanups)
 - #130064 (fix ICE in CMSE type validation)
 - #130067 (Remove redundant check in `symlink_hard_link` test)
 - #130131 (Print a helpful message if any tests were skipped for being up-to-date)
 - #130137 (Fix ICE caused by missing span in a region error)
 - #130153 (use verbose flag as a default value for `rust.verbose-tests`)
 - #130154 (Stabilize `char::MIN`)
 - #130158 (Update books)

r? `@ghost`
`@rustbot` modify labels: rollup
…laumeGomez

rustdoc: use strategic boxing to shrink `clean::Item`

* `inline_stmt_id` is never a cross-crate DefId, so save space by not storing it.
* Instead of two inner boxes for `Item`, use one.
interpret: make typed copies lossy wrt provenance and padding

A "typed copy" in Rust can be a lossy process: when copying at type `usize` (or any other non-pointer type), if the original memory had any provenance, that provenance is lost. When copying at pointer type, if the original memory had partial provenance (i.e., not the same provenance for all bytes), that provenance is lost. When copying any type with padding, the contents of padding are lost.

This PR equips our validity-checking pass with the ability to reset provenance and padding according to those rules. Can be reviewed commit-by-commit. The first three commits are just preparation without any functional change.

Fixes rust-lang/miri#845
Fixes rust-lang/miri#2182
This commit is generated by `ferrocene/tools/pull-upstream/pull.sh`.
The list of excluded files is defined in `.gitattributes`.
@github-actions github-actions bot added automation Issue or PR created by an automation backport:never PR that should never be backported labels Sep 10, 2024
src/bootstrap/src/core/download.rs Outdated Show resolved Hide resolved
src/bootstrap/src/core/download.rs Outdated Show resolved Hide resolved
@Dajamante Dajamante force-pushed the automation/pull-upstream/m6qxp38p branch from 8efae3f to da21f17 Compare September 10, 2024 13:22
Copy link
Member

@pietroalbini pietroalbini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bors merge

@bors-ferrocene
Copy link
Contributor

🕐 Waiting for PR status (Github check) to be set, probably by CI. Bors will automatically try to run when all required PR statuses are set.

bors-ferrocene bot added a commit that referenced this pull request Sep 10, 2024
935: Automated pull from upstream `master` r=pietroalbini a=github-actions[bot]


This PR pulls the following changes from the upstream repository:

* `129778`: [interpret: make typed copies lossy wrt provenance and padding](https://www.github.com/rust-lang/rust/issues/129778)
* `129789`: [rustdoc: use strategic boxing to shrink `clean::Item`](https://www.github.com/rust-lang/rust/issues/129789)
* `130165`: [Rollup of 9 pull requests](https://www.github.com/rust-lang/rust/issues/130165)
  * `130158`: [Update books](https://www.github.com/rust-lang/rust/issues/130158)
  * `130154`: [Stabilize `char::MIN`](https://www.github.com/rust-lang/rust/issues/130154)
  * `130153`: [use verbose flag as a default value for `rust.verbose-tests`](https://www.github.com/rust-lang/rust/issues/130153)
  * `130137`: [Fix ICE caused by missing span in a region error](https://www.github.com/rust-lang/rust/issues/130137)
  * `130131`: [Print a helpful message if any tests were skipped for being up-to-date](https://www.github.com/rust-lang/rust/issues/130131)
  * `130067`: [Remove redundant check in `symlink_hard_link` test](https://www.github.com/rust-lang/rust/issues/130067)
  * `130064`: [fix ICE in CMSE type validation](https://www.github.com/rust-lang/rust/issues/130064)
  * `130022`: [Dataflow/borrowck lifetime cleanups](https://www.github.com/rust-lang/rust/issues/130022)
  * `129929`: [`rustc_mir_transform` cleanups, round 2](https://www.github.com/rust-lang/rust/issues/129929)
* `128939`: [Distribute rustc_codegen_cranelift for Windows](https://www.github.com/rust-lang/rust/issues/128939)
* `130135`: [Do not skip linker configuration for `check` builds](https://www.github.com/rust-lang/rust/issues/130135)
* `130133`: [Rollup of 14 pull requests](https://www.github.com/rust-lang/rust/issues/130133)
  * `130130`: [Miri subtree update](https://www.github.com/rust-lang/rust/issues/130130)
  * `130115`: [Remove needless returns detected by clippy in libraries](https://www.github.com/rust-lang/rust/issues/130115)
  * `130107`: [const: make ptr.is_null() stop execution on ambiguity](https://www.github.com/rust-lang/rust/issues/130107)
  * `130092`: [Fixes typo in wasm32-wasip2 doc comment](https://www.github.com/rust-lang/rust/issues/130092)
  * `130090`: [make Result::copied unstably const](https://www.github.com/rust-lang/rust/issues/130090)
  * `130087`: [remove 'const' from 'Option::iter'](https://www.github.com/rust-lang/rust/issues/130087)
  * `130070`: [Rename variant `AddrOfRegion` of `RegionVariableOrigin` to `BorrowRegion`](https://www.github.com/rust-lang/rust/issues/130070)
  * `130068`: [Test codegen when setting deployment target](https://www.github.com/rust-lang/rust/issues/130068)
  * `130048`: [run-make-support: Add llvm-pdbutil](https://www.github.com/rust-lang/rust/issues/130048)
  * `130034`: [ Fix enabling wasm-component-ld to match other tools ](https://www.github.com/rust-lang/rust/issues/130034)
  * `129876`: [Use sysroot crates maximally in `rustc_codegen_gcc`.](https://www.github.com/rust-lang/rust/issues/129876)
  * `128667`: [rustdoc: normalise type/field names](https://www.github.com/rust-lang/rust/issues/128667)
  * `128345`: [added support for GNU/Hurd on x86_64](https://www.github.com/rust-lang/rust/issues/128345)
  * `119229`: [Update mingw-w64   GNU toolchain](https://www.github.com/rust-lang/rust/issues/119229)
* `129788`: [detect incompatible CI LLVM options more precisely](https://www.github.com/rust-lang/rust/issues/129788)
* `130036`: [Correctly handle stability of `#[diagnostic]` attributes](https://www.github.com/rust-lang/rust/issues/130036)
* `130002`: [better implementation of signed div_floor/ceil](https://www.github.com/rust-lang/rust/issues/130002)
* `129019`: [Break into the debugger (if attached) on panics (Windows, Linux, macOS, FreeBSD)](https://www.github.com/rust-lang/rust/issues/129019)
* `130072`: [Split x86_64-msvc-ext into two jobs](https://www.github.com/rust-lang/rust/issues/130072)
* `129346`: [Fix double handling in `collect_tokens`](https://www.github.com/rust-lang/rust/issues/129346)
* `129313`: [Supress niches in coroutines to avoid aliasing violations](https://www.github.com/rust-lang/rust/issues/129313)
* `130091`: [Rollup of 10 pull requests](https://www.github.com/rust-lang/rust/issues/130091)
  * `130059`: [Remove the unused  `llvm-skip-rebuild` option from x.py](https://www.github.com/rust-lang/rust/issues/130059)
  * `130047`: [Win: Add dbghelp to the list of import libraries](https://www.github.com/rust-lang/rust/issues/130047)
  * `130046`: [str: make as_mut_ptr and as_bytes_mut unstably const](https://www.github.com/rust-lang/rust/issues/130046)
  * `130009`: [rustdoc-search: allow trailing `Foo ->` arg search](https://www.github.com/rust-lang/rust/issues/130009)
  * `129869`: [add a few more crashtests](https://www.github.com/rust-lang/rust/issues/129869)
  * `129847`: [Do not call query to compute coroutine layout for synthetic body of async closure](https://www.github.com/rust-lang/rust/issues/129847)
  * `129677`: [Don't build by-move body when async closure is tainted](https://www.github.com/rust-lang/rust/issues/129677)
  * `129863`: [explain the options bootstrap passes to curl](https://www.github.com/rust-lang/rust/issues/129863)
  * `129555`: [stabilize const_float_bits_conv](https://www.github.com/rust-lang/rust/issues/129555)
  * `126452`: [Implement raw lifetimes and labels (`'r#ident`)](https://www.github.com/rust-lang/rust/issues/126452)
* `129941`: [Bump boostrap compiler to new beta](https://www.github.com/rust-lang/rust/issues/129941)
* `126161`: [Delegation: support generics in associated delegation items](https://www.github.com/rust-lang/rust/issues/126161)
* `130066`: [Rollup of 9 pull requests](https://www.github.com/rust-lang/rust/issues/130066)
  * `130054`: [Add missing quotation marks](https://www.github.com/rust-lang/rust/issues/130054)
  * `129987`: [Don't store region in `CapturedPlace`](https://www.github.com/rust-lang/rust/issues/129987)
  * `129940`: [s390x: Fix a regression related to backchain feature](https://www.github.com/rust-lang/rust/issues/129940)
  * `129899`: [Add Suggestions for Misspelled Keywords](https://www.github.com/rust-lang/rust/issues/129899)
  * `129891`: [Do not request sanitizers for naked functions](https://www.github.com/rust-lang/rust/issues/129891)
  * `129840`: [Implement suggestions for `elided_named_lifetimes`](https://www.github.com/rust-lang/rust/issues/129840)
  * `129614`: [Adjust doc comment of Condvar::wait_while](https://www.github.com/rust-lang/rust/issues/129614)
  * `129468`: [[testsuite][cleanup] Remove all usages of `dont_merge` hack to avoid function merging](https://www.github.com/rust-lang/rust/issues/129468)
  * `128871`: [bypass linker configuration and cross target check for specific commands](https://www.github.com/rust-lang/rust/issues/128871)
* `128871`: [bypass linker configuration and cross target check for specific commands](https://www.github.com/rust-lang/rust/issues/128871)
* `129341`: [Apple: Refactor deployment target version parsing](https://www.github.com/rust-lang/rust/issues/129341)
* `128776`: [Use `DeepRejectCtxt` to quickly reject `ParamEnv` candidates](https://www.github.com/rust-lang/rust/issues/128776)
* `121848`: [stabilize `-Znext-solver=coherence`](https://www.github.com/rust-lang/rust/issues/121848)
* `129176`: [Autodiff Upstreaming - enzyme backend](https://www.github.com/rust-lang/rust/issues/129176)
* `130016`: [Rollup of 6 pull requests](https://www.github.com/rust-lang/rust/issues/130016)
  * `130013`: [coverage: Count await when the Future is immediately ready ](https://www.github.com/rust-lang/rust/issues/130013)
  * `129995`: [Remove wasm32-wasip2's tier 2 status from release notes](https://www.github.com/rust-lang/rust/issues/129995)
  * `129969`: [Make `Ty::boxed_ty` return an `Option`](https://www.github.com/rust-lang/rust/issues/129969)
  * `129963`: [Inaccurate `{Path,OsStr}::to_string_lossy()` documentation](https://www.github.com/rust-lang/rust/issues/129963)
  * `129781`: [Make `./x.py <cmd> compiler/<crate>` aware of the crate's features](https://www.github.com/rust-lang/rust/issues/129781)
  * `129021`: [Check WF of source type's signature on fn pointer cast](https://www.github.com/rust-lang/rust/issues/129021)
* `129999`: [Rollup of 11 pull requests](https://www.github.com/rust-lang/rust/issues/129999)
  * `129957`: [forward linker option to lint-docs](https://www.github.com/rust-lang/rust/issues/129957)
  * `129955`: [Temporarily remove fmease from the review rotation](https://www.github.com/rust-lang/rust/issues/129955)
  * `129947`: [Add digit separators in `Duration` examples](https://www.github.com/rust-lang/rust/issues/129947)
  * `129944`: [Add compat note for trait solver change](https://www.github.com/rust-lang/rust/issues/129944)
  * `129943`: [use the bootstrapped compiler for `test-float-parse` test](https://www.github.com/rust-lang/rust/issues/129943)
  * `129942`: [copy rustc rustlib artifacts from ci-rustc](https://www.github.com/rust-lang/rust/issues/129942)
  * `129939`: [explain why Rvalue::Len still exists](https://www.github.com/rust-lang/rust/issues/129939)
  * `129775`: [bootstrap: Try to track down why `initial_libdir` sometimes fails](https://www.github.com/rust-lang/rust/issues/129775)
  * `129653`: [clarify that addr_of creates read-only pointers](https://www.github.com/rust-lang/rust/issues/129653)
  * `129472`: [fix ICE when `asm_const` and `const_refs_to_static` are combined](https://www.github.com/rust-lang/rust/issues/129472)
  * `128919`: [Add an internal lint that warns when accessing untracked data](https://www.github.com/rust-lang/rust/issues/128919)
* `121614`: [Don't emit `expect`/`assume` in opt-level=0](https://www.github.com/rust-lang/rust/issues/121614)
* `129994`: [Rollup of 8 pull requests](https://www.github.com/rust-lang/rust/issues/129994)
  * `129973`: [run_make_support: rename `Command::stdin` to `stdin_buf` and add `std{in,out,err}` config helpers](https://www.github.com/rust-lang/rust/issues/129973)
  * `129938`: [Elaborate on deriving vs implementing `Copy`](https://www.github.com/rust-lang/rust/issues/129938)
  * `129796`: [Unify scraped examples with other code examples](https://www.github.com/rust-lang/rust/issues/129796)
  * `129720`: [Simplify DestProp memory management](https://www.github.com/rust-lang/rust/issues/129720)
  * `129706`: [Rename dump of coroutine by-move-body to be more consistent, fix ICE in dump_mir](https://www.github.com/rust-lang/rust/issues/129706)
  * `129471`: [[rustdoc] Sort impl associated items by kinds and then by appearance](https://www.github.com/rust-lang/rust/issues/129471)
  * `129028`: [`impl_trait_overcaptures`: Don't worry about uncaptured contravariant lifetimes if they outlive a captured lifetime](https://www.github.com/rust-lang/rust/issues/129028)
  * `128820`: [fix: get llvm type of global val](https://www.github.com/rust-lang/rust/issues/128820)
* `129978`: [Rollup of 10 pull requests](https://www.github.com/rust-lang/rust/issues/129978)
  * `129925`: [remove deprecated option `rust.split-debuginfo`](https://www.github.com/rust-lang/rust/issues/129925)
  * `129919`: [Stabilize `waker_getters`](https://www.github.com/rust-lang/rust/issues/129919)
  * `129918`: [Update docs of `missing_abi` lint](https://www.github.com/rust-lang/rust/issues/129918)
  * `129752`: [Make supertrait and implied predicates queries defaulted](https://www.github.com/rust-lang/rust/issues/129752)
  * `129664`: [Arbitrary self types v2: pointers feature gate.](https://www.github.com/rust-lang/rust/issues/129664)
  * `129584`: [warn the user if the upstream master branch is old](https://www.github.com/rust-lang/rust/issues/129584)
  * `128928`: [CI: rfl: add more tools and steps](https://www.github.com/rust-lang/rust/issues/128928)
  * `127021`: [Add target support for RTEMS Arm](https://www.github.com/rust-lang/rust/issues/127021)
  * `120736`: [rustdoc: add header map to the table of contents](https://www.github.com/rust-lang/rust/issues/120736)
  * `101339`: [enable -Zrandomize-layout in debug CI builds ](https://www.github.com/rust-lang/rust/issues/101339)
* `129936`: [Rollup of 9 pull requests](https://www.github.com/rust-lang/rust/issues/129936)
  * `129930`: [include 1.80.1 release notes on master](https://www.github.com/rust-lang/rust/issues/129930)
  * `129928`: [rustc_driver_impl: remove some old dead logic](https://www.github.com/rust-lang/rust/issues/129928)
  * `129926`: [Move `SanityCheck` and `MirPass`](https://www.github.com/rust-lang/rust/issues/129926)
  * `129896`: [do not attempt to prove unknowable goals](https://www.github.com/rust-lang/rust/issues/129896)
  * `129863`: [update comment regarding TargetOptions.features](https://www.github.com/rust-lang/rust/issues/129863)
  * `129630`: [Document the broken C ABI of `wasm32-unknown-unknown`](https://www.github.com/rust-lang/rust/issues/129630)
  * `128934`: [Non-exhaustive structs may be empty](https://www.github.com/rust-lang/rust/issues/128934)
  * `128701`: [Don't Suggest Labeling `const` and `unsafe` Blocks ](https://www.github.com/rust-lang/rust/issues/128701)
  * `127692`: [Suggest `impl Trait` for References to Bare Trait in Function Header](https://www.github.com/rust-lang/rust/issues/127692)
* `129962`: [[nightly] Fix CVE-2024-43402](https://www.github.com/rust-lang/rust/issues/129962)
* `129356`: [Update x86_64-linux host compiler to LLVM 19 rc 3](https://www.github.com/rust-lang/rust/issues/129356)



Co-authored-by: Boxy <[email protected]>
Co-authored-by: bors <[email protected]>
Co-authored-by: chenx97 <[email protected]>
Co-authored-by: onur-ozkan <[email protected]>
Co-authored-by: León Orell Valerian Liehr <[email protected]>
Co-authored-by: Michael Goulet <[email protected]>
Co-authored-by: clubby789 <[email protected]>
Co-authored-by: Kalle Wachsmuth <[email protected]>
Co-authored-by: liushuyu <[email protected]>
Co-authored-by: Ryosuke Takahashi <[email protected]>
Co-authored-by: Folkert de Vries <[email protected]>
Co-authored-by: Matthias Krüger <[email protected]>
Co-authored-by: Mads Marquart <[email protected]>
@bors-ferrocene
Copy link
Contributor

Build failed:

@Veykril
Copy link
Member

Veykril commented Sep 11, 2024

bors merge

bors-ferrocene bot added a commit that referenced this pull request Sep 11, 2024
935: Automated pull from upstream `master` r=Veykril a=github-actions[bot]


This PR pulls the following changes from the upstream repository:

* `129778`: [interpret: make typed copies lossy wrt provenance and padding](https://www.github.com/rust-lang/rust/issues/129778)
* `129789`: [rustdoc: use strategic boxing to shrink `clean::Item`](https://www.github.com/rust-lang/rust/issues/129789)
* `130165`: [Rollup of 9 pull requests](https://www.github.com/rust-lang/rust/issues/130165)
  * `130158`: [Update books](https://www.github.com/rust-lang/rust/issues/130158)
  * `130154`: [Stabilize `char::MIN`](https://www.github.com/rust-lang/rust/issues/130154)
  * `130153`: [use verbose flag as a default value for `rust.verbose-tests`](https://www.github.com/rust-lang/rust/issues/130153)
  * `130137`: [Fix ICE caused by missing span in a region error](https://www.github.com/rust-lang/rust/issues/130137)
  * `130131`: [Print a helpful message if any tests were skipped for being up-to-date](https://www.github.com/rust-lang/rust/issues/130131)
  * `130067`: [Remove redundant check in `symlink_hard_link` test](https://www.github.com/rust-lang/rust/issues/130067)
  * `130064`: [fix ICE in CMSE type validation](https://www.github.com/rust-lang/rust/issues/130064)
  * `130022`: [Dataflow/borrowck lifetime cleanups](https://www.github.com/rust-lang/rust/issues/130022)
  * `129929`: [`rustc_mir_transform` cleanups, round 2](https://www.github.com/rust-lang/rust/issues/129929)
* `128939`: [Distribute rustc_codegen_cranelift for Windows](https://www.github.com/rust-lang/rust/issues/128939)
* `130135`: [Do not skip linker configuration for `check` builds](https://www.github.com/rust-lang/rust/issues/130135)
* `130133`: [Rollup of 14 pull requests](https://www.github.com/rust-lang/rust/issues/130133)
  * `130130`: [Miri subtree update](https://www.github.com/rust-lang/rust/issues/130130)
  * `130115`: [Remove needless returns detected by clippy in libraries](https://www.github.com/rust-lang/rust/issues/130115)
  * `130107`: [const: make ptr.is_null() stop execution on ambiguity](https://www.github.com/rust-lang/rust/issues/130107)
  * `130092`: [Fixes typo in wasm32-wasip2 doc comment](https://www.github.com/rust-lang/rust/issues/130092)
  * `130090`: [make Result::copied unstably const](https://www.github.com/rust-lang/rust/issues/130090)
  * `130087`: [remove 'const' from 'Option::iter'](https://www.github.com/rust-lang/rust/issues/130087)
  * `130070`: [Rename variant `AddrOfRegion` of `RegionVariableOrigin` to `BorrowRegion`](https://www.github.com/rust-lang/rust/issues/130070)
  * `130068`: [Test codegen when setting deployment target](https://www.github.com/rust-lang/rust/issues/130068)
  * `130048`: [run-make-support: Add llvm-pdbutil](https://www.github.com/rust-lang/rust/issues/130048)
  * `130034`: [ Fix enabling wasm-component-ld to match other tools ](https://www.github.com/rust-lang/rust/issues/130034)
  * `129876`: [Use sysroot crates maximally in `rustc_codegen_gcc`.](https://www.github.com/rust-lang/rust/issues/129876)
  * `128667`: [rustdoc: normalise type/field names](https://www.github.com/rust-lang/rust/issues/128667)
  * `128345`: [added support for GNU/Hurd on x86_64](https://www.github.com/rust-lang/rust/issues/128345)
  * `119229`: [Update mingw-w64   GNU toolchain](https://www.github.com/rust-lang/rust/issues/119229)
* `129788`: [detect incompatible CI LLVM options more precisely](https://www.github.com/rust-lang/rust/issues/129788)
* `130036`: [Correctly handle stability of `#[diagnostic]` attributes](https://www.github.com/rust-lang/rust/issues/130036)
* `130002`: [better implementation of signed div_floor/ceil](https://www.github.com/rust-lang/rust/issues/130002)
* `129019`: [Break into the debugger (if attached) on panics (Windows, Linux, macOS, FreeBSD)](https://www.github.com/rust-lang/rust/issues/129019)
* `130072`: [Split x86_64-msvc-ext into two jobs](https://www.github.com/rust-lang/rust/issues/130072)
* `129346`: [Fix double handling in `collect_tokens`](https://www.github.com/rust-lang/rust/issues/129346)
* `129313`: [Supress niches in coroutines to avoid aliasing violations](https://www.github.com/rust-lang/rust/issues/129313)
* `130091`: [Rollup of 10 pull requests](https://www.github.com/rust-lang/rust/issues/130091)
  * `130059`: [Remove the unused  `llvm-skip-rebuild` option from x.py](https://www.github.com/rust-lang/rust/issues/130059)
  * `130047`: [Win: Add dbghelp to the list of import libraries](https://www.github.com/rust-lang/rust/issues/130047)
  * `130046`: [str: make as_mut_ptr and as_bytes_mut unstably const](https://www.github.com/rust-lang/rust/issues/130046)
  * `130009`: [rustdoc-search: allow trailing `Foo ->` arg search](https://www.github.com/rust-lang/rust/issues/130009)
  * `129869`: [add a few more crashtests](https://www.github.com/rust-lang/rust/issues/129869)
  * `129847`: [Do not call query to compute coroutine layout for synthetic body of async closure](https://www.github.com/rust-lang/rust/issues/129847)
  * `129677`: [Don't build by-move body when async closure is tainted](https://www.github.com/rust-lang/rust/issues/129677)
  * `129863`: [explain the options bootstrap passes to curl](https://www.github.com/rust-lang/rust/issues/129863)
  * `129555`: [stabilize const_float_bits_conv](https://www.github.com/rust-lang/rust/issues/129555)
  * `126452`: [Implement raw lifetimes and labels (`'r#ident`)](https://www.github.com/rust-lang/rust/issues/126452)
* `129941`: [Bump boostrap compiler to new beta](https://www.github.com/rust-lang/rust/issues/129941)
* `126161`: [Delegation: support generics in associated delegation items](https://www.github.com/rust-lang/rust/issues/126161)
* `130066`: [Rollup of 9 pull requests](https://www.github.com/rust-lang/rust/issues/130066)
  * `130054`: [Add missing quotation marks](https://www.github.com/rust-lang/rust/issues/130054)
  * `129987`: [Don't store region in `CapturedPlace`](https://www.github.com/rust-lang/rust/issues/129987)
  * `129940`: [s390x: Fix a regression related to backchain feature](https://www.github.com/rust-lang/rust/issues/129940)
  * `129899`: [Add Suggestions for Misspelled Keywords](https://www.github.com/rust-lang/rust/issues/129899)
  * `129891`: [Do not request sanitizers for naked functions](https://www.github.com/rust-lang/rust/issues/129891)
  * `129840`: [Implement suggestions for `elided_named_lifetimes`](https://www.github.com/rust-lang/rust/issues/129840)
  * `129614`: [Adjust doc comment of Condvar::wait_while](https://www.github.com/rust-lang/rust/issues/129614)
  * `129468`: [[testsuite][cleanup] Remove all usages of `dont_merge` hack to avoid function merging](https://www.github.com/rust-lang/rust/issues/129468)
  * `128871`: [bypass linker configuration and cross target check for specific commands](https://www.github.com/rust-lang/rust/issues/128871)
* `128871`: [bypass linker configuration and cross target check for specific commands](https://www.github.com/rust-lang/rust/issues/128871)
* `129341`: [Apple: Refactor deployment target version parsing](https://www.github.com/rust-lang/rust/issues/129341)
* `128776`: [Use `DeepRejectCtxt` to quickly reject `ParamEnv` candidates](https://www.github.com/rust-lang/rust/issues/128776)
* `121848`: [stabilize `-Znext-solver=coherence`](https://www.github.com/rust-lang/rust/issues/121848)
* `129176`: [Autodiff Upstreaming - enzyme backend](https://www.github.com/rust-lang/rust/issues/129176)
* `130016`: [Rollup of 6 pull requests](https://www.github.com/rust-lang/rust/issues/130016)
  * `130013`: [coverage: Count await when the Future is immediately ready ](https://www.github.com/rust-lang/rust/issues/130013)
  * `129995`: [Remove wasm32-wasip2's tier 2 status from release notes](https://www.github.com/rust-lang/rust/issues/129995)
  * `129969`: [Make `Ty::boxed_ty` return an `Option`](https://www.github.com/rust-lang/rust/issues/129969)
  * `129963`: [Inaccurate `{Path,OsStr}::to_string_lossy()` documentation](https://www.github.com/rust-lang/rust/issues/129963)
  * `129781`: [Make `./x.py <cmd> compiler/<crate>` aware of the crate's features](https://www.github.com/rust-lang/rust/issues/129781)
  * `129021`: [Check WF of source type's signature on fn pointer cast](https://www.github.com/rust-lang/rust/issues/129021)
* `129999`: [Rollup of 11 pull requests](https://www.github.com/rust-lang/rust/issues/129999)
  * `129957`: [forward linker option to lint-docs](https://www.github.com/rust-lang/rust/issues/129957)
  * `129955`: [Temporarily remove fmease from the review rotation](https://www.github.com/rust-lang/rust/issues/129955)
  * `129947`: [Add digit separators in `Duration` examples](https://www.github.com/rust-lang/rust/issues/129947)
  * `129944`: [Add compat note for trait solver change](https://www.github.com/rust-lang/rust/issues/129944)
  * `129943`: [use the bootstrapped compiler for `test-float-parse` test](https://www.github.com/rust-lang/rust/issues/129943)
  * `129942`: [copy rustc rustlib artifacts from ci-rustc](https://www.github.com/rust-lang/rust/issues/129942)
  * `129939`: [explain why Rvalue::Len still exists](https://www.github.com/rust-lang/rust/issues/129939)
  * `129775`: [bootstrap: Try to track down why `initial_libdir` sometimes fails](https://www.github.com/rust-lang/rust/issues/129775)
  * `129653`: [clarify that addr_of creates read-only pointers](https://www.github.com/rust-lang/rust/issues/129653)
  * `129472`: [fix ICE when `asm_const` and `const_refs_to_static` are combined](https://www.github.com/rust-lang/rust/issues/129472)
  * `128919`: [Add an internal lint that warns when accessing untracked data](https://www.github.com/rust-lang/rust/issues/128919)
* `121614`: [Don't emit `expect`/`assume` in opt-level=0](https://www.github.com/rust-lang/rust/issues/121614)
* `129994`: [Rollup of 8 pull requests](https://www.github.com/rust-lang/rust/issues/129994)
  * `129973`: [run_make_support: rename `Command::stdin` to `stdin_buf` and add `std{in,out,err}` config helpers](https://www.github.com/rust-lang/rust/issues/129973)
  * `129938`: [Elaborate on deriving vs implementing `Copy`](https://www.github.com/rust-lang/rust/issues/129938)
  * `129796`: [Unify scraped examples with other code examples](https://www.github.com/rust-lang/rust/issues/129796)
  * `129720`: [Simplify DestProp memory management](https://www.github.com/rust-lang/rust/issues/129720)
  * `129706`: [Rename dump of coroutine by-move-body to be more consistent, fix ICE in dump_mir](https://www.github.com/rust-lang/rust/issues/129706)
  * `129471`: [[rustdoc] Sort impl associated items by kinds and then by appearance](https://www.github.com/rust-lang/rust/issues/129471)
  * `129028`: [`impl_trait_overcaptures`: Don't worry about uncaptured contravariant lifetimes if they outlive a captured lifetime](https://www.github.com/rust-lang/rust/issues/129028)
  * `128820`: [fix: get llvm type of global val](https://www.github.com/rust-lang/rust/issues/128820)
* `129978`: [Rollup of 10 pull requests](https://www.github.com/rust-lang/rust/issues/129978)
  * `129925`: [remove deprecated option `rust.split-debuginfo`](https://www.github.com/rust-lang/rust/issues/129925)
  * `129919`: [Stabilize `waker_getters`](https://www.github.com/rust-lang/rust/issues/129919)
  * `129918`: [Update docs of `missing_abi` lint](https://www.github.com/rust-lang/rust/issues/129918)
  * `129752`: [Make supertrait and implied predicates queries defaulted](https://www.github.com/rust-lang/rust/issues/129752)
  * `129664`: [Arbitrary self types v2: pointers feature gate.](https://www.github.com/rust-lang/rust/issues/129664)
  * `129584`: [warn the user if the upstream master branch is old](https://www.github.com/rust-lang/rust/issues/129584)
  * `128928`: [CI: rfl: add more tools and steps](https://www.github.com/rust-lang/rust/issues/128928)
  * `127021`: [Add target support for RTEMS Arm](https://www.github.com/rust-lang/rust/issues/127021)
  * `120736`: [rustdoc: add header map to the table of contents](https://www.github.com/rust-lang/rust/issues/120736)
  * `101339`: [enable -Zrandomize-layout in debug CI builds ](https://www.github.com/rust-lang/rust/issues/101339)
* `129936`: [Rollup of 9 pull requests](https://www.github.com/rust-lang/rust/issues/129936)
  * `129930`: [include 1.80.1 release notes on master](https://www.github.com/rust-lang/rust/issues/129930)
  * `129928`: [rustc_driver_impl: remove some old dead logic](https://www.github.com/rust-lang/rust/issues/129928)
  * `129926`: [Move `SanityCheck` and `MirPass`](https://www.github.com/rust-lang/rust/issues/129926)
  * `129896`: [do not attempt to prove unknowable goals](https://www.github.com/rust-lang/rust/issues/129896)
  * `129863`: [update comment regarding TargetOptions.features](https://www.github.com/rust-lang/rust/issues/129863)
  * `129630`: [Document the broken C ABI of `wasm32-unknown-unknown`](https://www.github.com/rust-lang/rust/issues/129630)
  * `128934`: [Non-exhaustive structs may be empty](https://www.github.com/rust-lang/rust/issues/128934)
  * `128701`: [Don't Suggest Labeling `const` and `unsafe` Blocks ](https://www.github.com/rust-lang/rust/issues/128701)
  * `127692`: [Suggest `impl Trait` for References to Bare Trait in Function Header](https://www.github.com/rust-lang/rust/issues/127692)
* `129962`: [[nightly] Fix CVE-2024-43402](https://www.github.com/rust-lang/rust/issues/129962)
* `129356`: [Update x86_64-linux host compiler to LLVM 19 rc 3](https://www.github.com/rust-lang/rust/issues/129356)



Co-authored-by: bors <[email protected]>
Co-authored-by: chenx97 <[email protected]>
Co-authored-by: onur-ozkan <[email protected]>
Co-authored-by: León Orell Valerian Liehr <[email protected]>
Co-authored-by: Michael Goulet <[email protected]>
Co-authored-by: clubby789 <[email protected]>
Co-authored-by: Kalle Wachsmuth <[email protected]>
Co-authored-by: liushuyu <[email protected]>
Co-authored-by: Ryosuke Takahashi <[email protected]>
Co-authored-by: Folkert de Vries <[email protected]>
Co-authored-by: Matthias Krüger <[email protected]>
Co-authored-by: Mads Marquart <[email protected]>
@bors-ferrocene
Copy link
Contributor

Build failed:

@Dajamante
Copy link
Contributor

bors retry

@bors-ferrocene
Copy link
Contributor

Build succeeded:

  • full

@bors-ferrocene bors-ferrocene bot merged commit 8b1d6ee into main Sep 12, 2024
2 checks passed
@bors-ferrocene bors-ferrocene bot deleted the automation/pull-upstream/m6qxp38p branch September 12, 2024 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automation Issue or PR created by an automation backport:never PR that should never be backported
Projects
None yet
Development

Successfully merging this pull request may close these issues.