Automated pull from upstream HEAD#2447
Conversation
Remove redundant dyn-compatibility check. This check is already handled in [`rustc_trait_selection::traits::fulfill::FulfillProcessor::process_obligation`](https://github.com/rust-lang/rust/blob/16761606d606b6ec4d0c88fc9251670742ad9fd2/compiler/rustc_trait_selection/src/traits/fulfill.rs#L524). r? types
…s a standalone command - error if RUSTC isn't set, which means it'll fall back to the user-installed default (wrong) - be more specific in `--bless` suggestions that they should use `x test tidy`, not tidy directly.
for non-interactive cases, such as CI, this makes it easier to tell what went wrong without having to interactively debug the problem.
in `tests/ui/consts/const-eval/raw-bytes.rs` as we now handle this in our modified regex in `runtest`
Specifically, all `//@ ignore-parallel-frontend different alloc ids`
across other tests because they fail with our normalization strategy: `ALLOC0` -> `ALLOC$ID`
…lmann lint ImproperCTypes: refactor linting architecture (part 3) This is the third PR in an effort to split rust-lang/rust#134697 (refactor plus overhaul of the ImproperCTypes family of lints) into individually-mergeable parts. Contains: - the changes of the first two PRs - other user-invisible changes, - the prevention of stack overflows while checking irregular recursive types. Fixes: rust-lang/rust#130310 Superset of: rust-lang/rust#146271 and its superset rust-lang/rust#146273
It isn't called from cg_ssa.
These functions are scoped to a single codegened function
These functions are scoped to a single codegened function
Before it would just show the `ensure` function
Sometimes it is necessary to group patchable function entrypoint records in distinct linker sections. This is the case for some bpf functions within the linux kernel which shouldn't be visible to ftrace. Extend `-Zpatchable-function-entry` to accept an argument of the form `prefix_nops,total_nops,record_section`, which places all entry record into a user specified section. Likewise, extend the `patchable_function_entry` attribute to accept an optional `section="name"` option to place a function into a specific section. This is made possible by llvm attribute `patchable-function-entry-section` added in llvm 21.
…ent into `PathSegment`
…w_mut` on `RefCell<NameResolution>`. Use a TLS for this set ahead of parallel import resolution.
In LLVM, FeatureKV/SubtargetKV pointers are now private: llvm/llvm-project#206237 This change fixes compiler errors when building rustc with ToT LLVM by using the key() and desc() accessors.
jyn514
left a comment
There was a problem hiding this comment.
r=me with or without the nit fixed
| // don't add it here to match what a C program passes to bind(2) and | ||
| // similar functions | ||
| if cfg!(not(any(target_env = "nto80", target_env = "nto71"))) { | ||
| if cfg!(not(any(target_os = "qnx", target_env = "nto71"))) { |
There was a problem hiding this comment.
noting that this is #2439, pulled in through upstream. we'll need to backport the upstream PR, which is rust-lang/rust#158449.
There was a problem hiding this comment.
wait, hold on, this is in your commit. shouldn't this fix go upstream? it's ok to land it now, but please put these fixes (and the test fixes below) in their own commit so it's easy to upstream them.
There was a problem hiding this comment.
It did, but I did "rename the target" as a separate PR from "fix libstd so it actually builds on the target" because testing that second part also involved fixes to libc and cc-rs.
There was a problem hiding this comment.
| aarch64-unknown-linux-gnu_ilp32 | ||
| aarch64-unknown-linux-musl | ||
| aarch64-unknown-linux-ohos | ||
| aarch64-unknown-linux-pauthtest |
There was a problem hiding this comment.
it would be nice if this test didn't require --blessing each time a target gets added. i'll open an issue.
6ae7a4b to
ad9ac6e
Compare
This comment was marked as outdated.
This comment was marked as outdated.
2447: Automated pull from upstream `HEAD` r=jyn514 a=ferrocene-automations[bot] :warning: **The automation reported these warnings:** :warning: * There are merge conflicts in this PR. Merge conflict markers have been committed. * Couldn't regenerate the `x.py` completions. Please run `./x run generate-completions` after fixing the merge conflicts. * Couldn't regenerate the `x.py` help file. Please run `./x run generate-help` after fixing the merge conflicts. * Couldn't regenerate the symbol report. Please run './x test ferrocene/doc/symbol-report.csv --bless' after fixing the conflicts. This PR pulls the following changes from the upstream repository: * `158811`: [Rollup of 19 pull requests](https://www.github.com/rust-lang/rust/issues/158811) * `158706`: [Tweaks to MIR building scope API](https://www.github.com/rust-lang/rust/issues/158706) * `158698`: [Update TypeVisitable implementation](https://www.github.com/rust-lang/rust/issues/158698) * `158689`: [resolver: don't use `Finalize` when resolving visibilities during AST expansion](https://www.github.com/rust-lang/rust/issues/158689) * `158659`: [refactor the normalization in `coerce_shared_info`](https://www.github.com/rust-lang/rust/issues/158659) * `158539`: [Move `SizeHint` and `IoHandle` to `core::io`](https://www.github.com/rust-lang/rust/issues/158539) * `158751`: [rustdoc: Fix crash when trying to inline foreign item which cannot have attributes](https://www.github.com/rust-lang/rust/issues/158751) * `158711`: [library: Comment on libtest's dicey internal soundness](https://www.github.com/rust-lang/rust/issues/158711) * `158704`: [Optimize `ArrayChunks::try_rfold` with `DoubleEndedIterator::next_chunk_back`](https://www.github.com/rust-lang/rust/issues/158704) * `158624`: [borrowck: Introduce BlameConstraint::to_obligation_cause_from_path()](https://www.github.com/rust-lang/rust/issues/158624) * `158552`: [make some tidy errors around python easier to understand](https://www.github.com/rust-lang/rust/issues/158552) * `158434`: [delegation: refactor AST -> HIR lowering](https://www.github.com/rust-lang/rust/issues/158434) * `157857`: [Stabilize `#[my_macro] mod foo;` (part of `proc_macro_hygiene`)](https://www.github.com/rust-lang/rust/issues/157857) * `157835`: [expand free alias types in the auto-trait orphan check](https://www.github.com/rust-lang/rust/issues/157835) * `157151`: [JSON target specs: remove 'x86-softfloat' compatibility alias](https://www.github.com/rust-lang/rust/issues/157151) * `156777`: [Add -Zautodiff_post_passes flag to limit which llvm passes to run after enzyme to make autodiff tests more robust](https://www.github.com/rust-lang/rust/issues/156777) * `155989`: [Update `transmute_copy` to ub_checks and `?Sized`](https://www.github.com/rust-lang/rust/issues/155989) * `155932`: [MIR Call terminator: evaluate destination place before arguments](https://www.github.com/rust-lang/rust/issues/155932) * `134021`: [Implement `IntoIterator` for `[&[mut]] Box<[T; N], A>`](https://www.github.com/rust-lang/rust/issues/134021) * `158692`: [Add release notes for 1.96.1](https://www.github.com/rust-lang/rust/issues/158692) * `158740`: [Bump version to 1.99.0](https://www.github.com/rust-lang/rust/issues/158740) * `158169`: [Fix debuginfo compression in bootstrap](https://www.github.com/rust-lang/rust/issues/158169) * `158795`: [Rollup of 21 pull requests](https://www.github.com/rust-lang/rust/issues/158795) * `158688`: [Cleanup attribute docs and add links to other mentioned attributes](https://www.github.com/rust-lang/rust/issues/158688) * `158687`: [Streamline `MacEager`](https://www.github.com/rust-lang/rust/issues/158687) * `158684`: [Add missing generic test coverage for ```#[splat]```](https://www.github.com/rust-lang/rust/issues/158684) * `158682`: [Avoid delayed bug for disabled on_type_error arguments](https://www.github.com/rust-lang/rust/issues/158682) * `158681`: [Remove unnecessary `Hash` derives from MIR types](https://www.github.com/rust-lang/rust/issues/158681) * `158680`: [Avoid ICE for `NonZero<char>` in improper_ctypes](https://www.github.com/rust-lang/rust/issues/158680) * `158677`: [Add extra splat tests](https://www.github.com/rust-lang/rust/issues/158677) * `158674`: [library: Polish transmute's `split_at_stdlib` example](https://www.github.com/rust-lang/rust/issues/158674) * `158669`: [Remove `src/tools/test-float-parse/Cargo.lock`](https://www.github.com/rust-lang/rust/issues/158669) * `158651`: [ptr doc: reduce use of unsafe block to where needed](https://www.github.com/rust-lang/rust/issues/158651) * `158637`: [hir_ty_lowering: avoid self type lookup for inherent aliases](https://www.github.com/rust-lang/rust/issues/158637) * `158585`: [Improve diagnostic for too many super keywords](https://www.github.com/rust-lang/rust/issues/158585) * `158549`: [process::exec: using appropriate exit code on vxworks.](https://www.github.com/rust-lang/rust/issues/158549) * `158473`: [Add `riscv32imfc-unknown-none-elf` bare-metal target](https://www.github.com/rust-lang/rust/issues/158473) * `158021`: [Remove old MinGW workaround](https://www.github.com/rust-lang/rust/issues/158021) * `158665`: [Revert "Remove redundant dyn-compatibility check."](https://www.github.com/rust-lang/rust/issues/158665) * `158658`: [Update LLVM submodule](https://www.github.com/rust-lang/rust/issues/158658) * `158627`: [Simplify option-iterator flattening in the compiler](https://www.github.com/rust-lang/rust/issues/158627) * `158606`: [use ProjectionPredicate instead of AliasRelate](https://www.github.com/rust-lang/rust/issues/158606) * `158494`: [Improve E0277 diagnostics for conditionally implemented traits](https://www.github.com/rust-lang/rust/issues/158494) * `158100`: [Emit retags in codegen to support BorrowSanitizer (part 4)](https://www.github.com/rust-lang/rust/issues/158100) * `158691`: [Update cargo submodule](https://www.github.com/rust-lang/rust/issues/158691) * `158774`: [Mirror kernel archives in `ci-mirrors` to not depend on currently unavailable kernel mirror sources](https://www.github.com/rust-lang/rust/issues/158774) * `158525`: [Reorganize `tests/ui/issues` [17/N]](https://www.github.com/rust-lang/rust/issues/158525) * `158676`: [Rollup of 8 pull requests](https://www.github.com/rust-lang/rust/issues/158676) * `158667`: [rustc_sanitizers: use twox-hash without default features](https://www.github.com/rust-lang/rust/issues/158667) * `158364`: [rustc_target/asm: add LoongArch LSX/LASX inline asm register support](https://www.github.com/rust-lang/rust/issues/158364) * `158334`: [rustdoc: Show use-site paths for unevaluated const array lengths](https://www.github.com/rust-lang/rust/issues/158334) * `158574`: [Clarify ExitStatusExt documentation](https://www.github.com/rust-lang/rust/issues/158574) * `158531`: [Change `adjust_ident_and_get_scope` arg to `LocalDefId`](https://www.github.com/rust-lang/rust/issues/158531) * `158427`: [Implement `ptr::{read,write}_unaligned` via `repr(packed)`](https://www.github.com/rust-lang/rust/issues/158427) * `158180`: [std: use `OnceLock` for SGX environment variable storage](https://www.github.com/rust-lang/rust/issues/158180) * `156737`: [Implement `DoubleEndedIterator::next_chunk_back`](https://www.github.com/rust-lang/rust/issues/156737) * `158663`: [Rollup of 8 pull requests](https://www.github.com/rust-lang/rust/issues/158663) * `158647`: [Document `strip_circumfix` behavior on overlapping prefix and suffix.](https://www.github.com/rust-lang/rust/issues/158647) * `158634`: [Add missing `needs_drop` check to `DroplessArena`.](https://www.github.com/rust-lang/rust/issues/158634) * `158633`: [Remove unnecessary `Clone` derives on resolver types](https://www.github.com/rust-lang/rust/issues/158633) * `158620`: [Remove skip_norm_w/i/p().def_id with a helper](https://www.github.com/rust-lang/rust/issues/158620) * `158613`: [Fix getrandom fallback test on platforms with `panic=abort`](https://www.github.com/rust-lang/rust/issues/158613) * `158397`: [delegation: support simplest output `Self` mapping](https://www.github.com/rust-lang/rust/issues/158397) * `156716`: [tests: fix: parallel frontend test failures: different alloc ids](https://www.github.com/rust-lang/rust/issues/156716) * `158294`: [Use .drectve for MSVC DLL exports](https://www.github.com/rust-lang/rust/issues/158294) * `158604`: [resolve: no allocation in `resolve_ident_in(_local)_module_*`](https://www.github.com/rust-lang/rust/issues/158604) * `158639`: [Rollup of 6 pull requests](https://www.github.com/rust-lang/rust/issues/158639) * `158636`: [linkchecker: upgrade to `html5ever v0.39`](https://www.github.com/rust-lang/rust/issues/158636) * `158542`: [Rename `align` to `default_align` on `Scalar` and `Primitive`](https://www.github.com/rust-lang/rust/issues/158542) * `158516`: [ Deduplicate codegen backends in bootstrap config](https://www.github.com/rust-lang/rust/issues/158516) * `158483`: [signed strict division: just use normal division](https://www.github.com/rust-lang/rust/issues/158483) * `158449`: [QNX target renaming](https://www.github.com/rust-lang/rust/issues/158449) * `157718`: [Do not increase depth when evaluating nested goals of `NormalizesTo`](https://www.github.com/rust-lang/rust/issues/157718) * `158629`: [Rollup of 7 pull requests](https://www.github.com/rust-lang/rust/issues/158629) * `158616`: [Remove dependency from `rustc_metadata` on `rustc_incremental`](https://www.github.com/rust-lang/rust/issues/158616) * `158614`: [Fix error message when rejecting implicit stage != 2 in CI](https://www.github.com/rust-lang/rust/issues/158614) * `158573`: [stabilize `feature(atomic_from_mut)`](https://www.github.com/rust-lang/rust/issues/158573) * `158569`: [[rustdoc] Fix handling of inlining of `no_inline` of foreign items](https://www.github.com/rust-lang/rust/issues/158569) * `157650`: [rustc_target: Add OpenEmbedded/Yocto Linux base targets](https://www.github.com/rust-lang/rust/issues/157650) * `157347`: [Implement `Box::as_non_null()`.](https://www.github.com/rust-lang/rust/issues/157347) * `156379`: [lint on `core::ffi::c_void` as a return type](https://www.github.com/rust-lang/rust/issues/156379) * `158610`: [Rollup of 5 pull requests](https://www.github.com/rust-lang/rust/issues/158610) * `158592`: [tests: only run `lexical-scope-in-match.rs` for LLDB >= 21](https://www.github.com/rust-lang/rust/issues/158592) * `158571`: [Update books](https://www.github.com/rust-lang/rust/issues/158571) * `158563`: [Test(lib/net): Fix `hostname_smoketest` for Win7](https://www.github.com/rust-lang/rust/issues/158563) * `158560`: [Move per-function debuginfo methods from codegen to builder methods](https://www.github.com/rust-lang/rust/issues/158560) * `158600`: [Fix `rustc --unpretty=expanded` emit of `[const] [unsafe] impl Trait for`](https://www.github.com/rust-lang/rust/issues/158600) * `158595`: [Rollup of 7 pull requests](https://www.github.com/rust-lang/rust/issues/158595) * `158591`: [Fix spacing issue for unused parentheses lint](https://www.github.com/rust-lang/rust/issues/158591) * `158327`: [Move attribute and keyword docs from `std` to `core`](https://www.github.com/rust-lang/rust/issues/158327) * `157445`: [Allow section override when using patchable-function-entries](https://www.github.com/rust-lang/rust/issues/157445) * `158562`: [Improve tracing of steps in bootstrap](https://www.github.com/rust-lang/rust/issues/158562) * `158561`: [Avoid building rustdoc for tests without doctests](https://www.github.com/rust-lang/rust/issues/158561) * `158256`: [Avoid parser panics bubbling out to proc macros](https://www.github.com/rust-lang/rust/issues/158256) * `158073`: [bootstrap: fix panic when repo path contains spaces by switching to CARGO_ENCODED_RUSTFLAGS](https://www.github.com/rust-lang/rust/issues/158073) * `158593`: [Rollup of 11 pull requests](https://www.github.com/rust-lang/rust/issues/158593) * `158582`: [Comment on needed RAM in huge-stacks.rs](https://www.github.com/rust-lang/rust/issues/158582) * `158568`: [llvm-wrapper: use accessors for private fields in LLVM 23+](https://www.github.com/rust-lang/rust/issues/158568) * `158564`: [fix `-Z min-recursion-limit` unstable chapter name](https://www.github.com/rust-lang/rust/issues/158564) * `158543`: [Note usage of documentation hard links in `core::io`](https://www.github.com/rust-lang/rust/issues/158543) * `158468`: [Include default-stability info in rustdoc JSON.](https://www.github.com/rust-lang/rust/issues/158468) * `158081`: [trait-system: Recover deferred closure calls after errors](https://www.github.com/rust-lang/rust/issues/158081) * `158556`: [delegation: store child segment flag in `PathSegment`](https://www.github.com/rust-lang/rust/issues/158556) * `158375`: [Support `DefKind::InlineConst` in `ConstKind::Unevaluated`](https://www.github.com/rust-lang/rust/issues/158375) * `156295`: [Pass the whole `GenericArgs` to `Interner::for_each_relevant_impl()`](https://www.github.com/rust-lang/rust/issues/156295) * `156230`: [tests: check wasm compiler_builtins object architecture](https://www.github.com/rust-lang/rust/issues/156230) * `155722`: [Introduce aarch64-unknown-linux-pauthtest target](https://www.github.com/rust-lang/rust/issues/155722) * `158035`: [resolve: Explicit Set for detecting resolution cycles](https://www.github.com/rust-lang/rust/issues/158035) * `146275`: [lint ImproperCTypes: refactor linting architecture (part 3)](https://www.github.com/rust-lang/rust/issues/146275) * `158477`: [Remove redundant dyn-compatibility check.](https://www.github.com/rust-lang/rust/issues/158477) Co-authored-by: 朝倉水希 <asakuramizu111@gmail.com> Co-authored-by: bors <bors@rust-lang.org> Co-authored-by: jyn <github@jyn.dev> Co-authored-by: heinwol <heinvvol@gmail.com> Co-authored-by: Jakub Beránek <berykubik@gmail.com> Co-authored-by: León Orell Valerian Liehr <me@fmease.dev> Co-authored-by: bjorn3 <17426603+bjorn3@users.noreply.github.com> Co-authored-by: Yukang <moorekang@gmail.com> Co-authored-by: Paul Murphy <murp@redhat.com> Co-authored-by: aerooneqq <aerooneq@yandex.ru> Co-authored-by: Rémy Rakic <remy.rakic@arm.com> Co-authored-by: LorrensP-2158466 <lorrens.pantelis@student.uhasselt.be> Co-authored-by: lapla <me@lapla.dev>
This comment was marked as outdated.
This comment was marked as outdated.
ad9ac6e to
93cde04
Compare
jyn514
left a comment
There was a problem hiding this comment.
you might want to double-check that you found all the CI failures, i found at least one from the bors try that hasn't been fixed yet (i've left a comment below).
| // don't add it here to match what a C program passes to bind(2) and | ||
| // similar functions | ||
| if cfg!(not(any(target_env = "nto80", target_env = "nto71"))) { | ||
| if cfg!(not(any(target_os = "qnx", target_env = "nto71"))) { |
There was a problem hiding this comment.
wait, hold on, this is in your commit. shouldn't this fix go upstream? it's ok to land it now, but please put these fixes (and the test fixes below) in their own commit so it's easy to upstream them.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
3fbae8e to
7857f31
Compare
7857f31 to
0b6e646
Compare
jyn514
left a comment
There was a problem hiding this comment.
this looks good to me. i'm approving so you can merge, as long as you've tested this fixes the problem.
what a mess ... thanks for helping out with this :)
|
bors merge=jyn514 |
2447: Automated pull from upstream `HEAD` r=jyn514 a=ferrocene-automations[bot] :warning: **The automation reported these warnings:** :warning: * There are merge conflicts in this PR. Merge conflict markers have been committed. * Couldn't regenerate the `x.py` completions. Please run `./x run generate-completions` after fixing the merge conflicts. * Couldn't regenerate the `x.py` help file. Please run `./x run generate-help` after fixing the merge conflicts. * Couldn't regenerate the symbol report. Please run './x test ferrocene/doc/symbol-report.csv --bless' after fixing the conflicts. This PR pulls the following changes from the upstream repository: * `158811`: [Rollup of 19 pull requests](https://www.github.com/rust-lang/rust/issues/158811) * `158706`: [Tweaks to MIR building scope API](https://www.github.com/rust-lang/rust/issues/158706) * `158698`: [Update TypeVisitable implementation](https://www.github.com/rust-lang/rust/issues/158698) * `158689`: [resolver: don't use `Finalize` when resolving visibilities during AST expansion](https://www.github.com/rust-lang/rust/issues/158689) * `158659`: [refactor the normalization in `coerce_shared_info`](https://www.github.com/rust-lang/rust/issues/158659) * `158539`: [Move `SizeHint` and `IoHandle` to `core::io`](https://www.github.com/rust-lang/rust/issues/158539) * `158751`: [rustdoc: Fix crash when trying to inline foreign item which cannot have attributes](https://www.github.com/rust-lang/rust/issues/158751) * `158711`: [library: Comment on libtest's dicey internal soundness](https://www.github.com/rust-lang/rust/issues/158711) * `158704`: [Optimize `ArrayChunks::try_rfold` with `DoubleEndedIterator::next_chunk_back`](https://www.github.com/rust-lang/rust/issues/158704) * `158624`: [borrowck: Introduce BlameConstraint::to_obligation_cause_from_path()](https://www.github.com/rust-lang/rust/issues/158624) * `158552`: [make some tidy errors around python easier to understand](https://www.github.com/rust-lang/rust/issues/158552) * `158434`: [delegation: refactor AST -> HIR lowering](https://www.github.com/rust-lang/rust/issues/158434) * `157857`: [Stabilize `#[my_macro] mod foo;` (part of `proc_macro_hygiene`)](https://www.github.com/rust-lang/rust/issues/157857) * `157835`: [expand free alias types in the auto-trait orphan check](https://www.github.com/rust-lang/rust/issues/157835) * `157151`: [JSON target specs: remove 'x86-softfloat' compatibility alias](https://www.github.com/rust-lang/rust/issues/157151) * `156777`: [Add -Zautodiff_post_passes flag to limit which llvm passes to run after enzyme to make autodiff tests more robust](https://www.github.com/rust-lang/rust/issues/156777) * `155989`: [Update `transmute_copy` to ub_checks and `?Sized`](https://www.github.com/rust-lang/rust/issues/155989) * `155932`: [MIR Call terminator: evaluate destination place before arguments](https://www.github.com/rust-lang/rust/issues/155932) * `134021`: [Implement `IntoIterator` for `[&[mut]] Box<[T; N], A>`](https://www.github.com/rust-lang/rust/issues/134021) * `158692`: [Add release notes for 1.96.1](https://www.github.com/rust-lang/rust/issues/158692) * `158740`: [Bump version to 1.99.0](https://www.github.com/rust-lang/rust/issues/158740) * `158169`: [Fix debuginfo compression in bootstrap](https://www.github.com/rust-lang/rust/issues/158169) * `158795`: [Rollup of 21 pull requests](https://www.github.com/rust-lang/rust/issues/158795) * `158688`: [Cleanup attribute docs and add links to other mentioned attributes](https://www.github.com/rust-lang/rust/issues/158688) * `158687`: [Streamline `MacEager`](https://www.github.com/rust-lang/rust/issues/158687) * `158684`: [Add missing generic test coverage for ```#[splat]```](https://www.github.com/rust-lang/rust/issues/158684) * `158682`: [Avoid delayed bug for disabled on_type_error arguments](https://www.github.com/rust-lang/rust/issues/158682) * `158681`: [Remove unnecessary `Hash` derives from MIR types](https://www.github.com/rust-lang/rust/issues/158681) * `158680`: [Avoid ICE for `NonZero<char>` in improper_ctypes](https://www.github.com/rust-lang/rust/issues/158680) * `158677`: [Add extra splat tests](https://www.github.com/rust-lang/rust/issues/158677) * `158674`: [library: Polish transmute's `split_at_stdlib` example](https://www.github.com/rust-lang/rust/issues/158674) * `158669`: [Remove `src/tools/test-float-parse/Cargo.lock`](https://www.github.com/rust-lang/rust/issues/158669) * `158651`: [ptr doc: reduce use of unsafe block to where needed](https://www.github.com/rust-lang/rust/issues/158651) * `158637`: [hir_ty_lowering: avoid self type lookup for inherent aliases](https://www.github.com/rust-lang/rust/issues/158637) * `158585`: [Improve diagnostic for too many super keywords](https://www.github.com/rust-lang/rust/issues/158585) * `158549`: [process::exec: using appropriate exit code on vxworks.](https://www.github.com/rust-lang/rust/issues/158549) * `158473`: [Add `riscv32imfc-unknown-none-elf` bare-metal target](https://www.github.com/rust-lang/rust/issues/158473) * `158021`: [Remove old MinGW workaround](https://www.github.com/rust-lang/rust/issues/158021) * `158665`: [Revert "Remove redundant dyn-compatibility check."](https://www.github.com/rust-lang/rust/issues/158665) * `158658`: [Update LLVM submodule](https://www.github.com/rust-lang/rust/issues/158658) * `158627`: [Simplify option-iterator flattening in the compiler](https://www.github.com/rust-lang/rust/issues/158627) * `158606`: [use ProjectionPredicate instead of AliasRelate](https://www.github.com/rust-lang/rust/issues/158606) * `158494`: [Improve E0277 diagnostics for conditionally implemented traits](https://www.github.com/rust-lang/rust/issues/158494) * `158100`: [Emit retags in codegen to support BorrowSanitizer (part 4)](https://www.github.com/rust-lang/rust/issues/158100) * `158691`: [Update cargo submodule](https://www.github.com/rust-lang/rust/issues/158691) * `158774`: [Mirror kernel archives in `ci-mirrors` to not depend on currently unavailable kernel mirror sources](https://www.github.com/rust-lang/rust/issues/158774) * `158525`: [Reorganize `tests/ui/issues` [17/N]](https://www.github.com/rust-lang/rust/issues/158525) * `158676`: [Rollup of 8 pull requests](https://www.github.com/rust-lang/rust/issues/158676) * `158667`: [rustc_sanitizers: use twox-hash without default features](https://www.github.com/rust-lang/rust/issues/158667) * `158364`: [rustc_target/asm: add LoongArch LSX/LASX inline asm register support](https://www.github.com/rust-lang/rust/issues/158364) * `158334`: [rustdoc: Show use-site paths for unevaluated const array lengths](https://www.github.com/rust-lang/rust/issues/158334) * `158574`: [Clarify ExitStatusExt documentation](https://www.github.com/rust-lang/rust/issues/158574) * `158531`: [Change `adjust_ident_and_get_scope` arg to `LocalDefId`](https://www.github.com/rust-lang/rust/issues/158531) * `158427`: [Implement `ptr::{read,write}_unaligned` via `repr(packed)`](https://www.github.com/rust-lang/rust/issues/158427) * `158180`: [std: use `OnceLock` for SGX environment variable storage](https://www.github.com/rust-lang/rust/issues/158180) * `156737`: [Implement `DoubleEndedIterator::next_chunk_back`](https://www.github.com/rust-lang/rust/issues/156737) * `158663`: [Rollup of 8 pull requests](https://www.github.com/rust-lang/rust/issues/158663) * `158647`: [Document `strip_circumfix` behavior on overlapping prefix and suffix.](https://www.github.com/rust-lang/rust/issues/158647) * `158634`: [Add missing `needs_drop` check to `DroplessArena`.](https://www.github.com/rust-lang/rust/issues/158634) * `158633`: [Remove unnecessary `Clone` derives on resolver types](https://www.github.com/rust-lang/rust/issues/158633) * `158620`: [Remove skip_norm_w/i/p().def_id with a helper](https://www.github.com/rust-lang/rust/issues/158620) * `158613`: [Fix getrandom fallback test on platforms with `panic=abort`](https://www.github.com/rust-lang/rust/issues/158613) * `158397`: [delegation: support simplest output `Self` mapping](https://www.github.com/rust-lang/rust/issues/158397) * `156716`: [tests: fix: parallel frontend test failures: different alloc ids](https://www.github.com/rust-lang/rust/issues/156716) * `158294`: [Use .drectve for MSVC DLL exports](https://www.github.com/rust-lang/rust/issues/158294) * `158604`: [resolve: no allocation in `resolve_ident_in(_local)_module_*`](https://www.github.com/rust-lang/rust/issues/158604) * `158639`: [Rollup of 6 pull requests](https://www.github.com/rust-lang/rust/issues/158639) * `158636`: [linkchecker: upgrade to `html5ever v0.39`](https://www.github.com/rust-lang/rust/issues/158636) * `158542`: [Rename `align` to `default_align` on `Scalar` and `Primitive`](https://www.github.com/rust-lang/rust/issues/158542) * `158516`: [ Deduplicate codegen backends in bootstrap config](https://www.github.com/rust-lang/rust/issues/158516) * `158483`: [signed strict division: just use normal division](https://www.github.com/rust-lang/rust/issues/158483) * `158449`: [QNX target renaming](https://www.github.com/rust-lang/rust/issues/158449) * `157718`: [Do not increase depth when evaluating nested goals of `NormalizesTo`](https://www.github.com/rust-lang/rust/issues/157718) * `158629`: [Rollup of 7 pull requests](https://www.github.com/rust-lang/rust/issues/158629) * `158616`: [Remove dependency from `rustc_metadata` on `rustc_incremental`](https://www.github.com/rust-lang/rust/issues/158616) * `158614`: [Fix error message when rejecting implicit stage != 2 in CI](https://www.github.com/rust-lang/rust/issues/158614) * `158573`: [stabilize `feature(atomic_from_mut)`](https://www.github.com/rust-lang/rust/issues/158573) * `158569`: [[rustdoc] Fix handling of inlining of `no_inline` of foreign items](https://www.github.com/rust-lang/rust/issues/158569) * `157650`: [rustc_target: Add OpenEmbedded/Yocto Linux base targets](https://www.github.com/rust-lang/rust/issues/157650) * `157347`: [Implement `Box::as_non_null()`.](https://www.github.com/rust-lang/rust/issues/157347) * `156379`: [lint on `core::ffi::c_void` as a return type](https://www.github.com/rust-lang/rust/issues/156379) * `158610`: [Rollup of 5 pull requests](https://www.github.com/rust-lang/rust/issues/158610) * `158592`: [tests: only run `lexical-scope-in-match.rs` for LLDB >= 21](https://www.github.com/rust-lang/rust/issues/158592) * `158571`: [Update books](https://www.github.com/rust-lang/rust/issues/158571) * `158563`: [Test(lib/net): Fix `hostname_smoketest` for Win7](https://www.github.com/rust-lang/rust/issues/158563) * `158560`: [Move per-function debuginfo methods from codegen to builder methods](https://www.github.com/rust-lang/rust/issues/158560) * `158600`: [Fix `rustc --unpretty=expanded` emit of `[const] [unsafe] impl Trait for`](https://www.github.com/rust-lang/rust/issues/158600) * `158595`: [Rollup of 7 pull requests](https://www.github.com/rust-lang/rust/issues/158595) * `158591`: [Fix spacing issue for unused parentheses lint](https://www.github.com/rust-lang/rust/issues/158591) * `158327`: [Move attribute and keyword docs from `std` to `core`](https://www.github.com/rust-lang/rust/issues/158327) * `157445`: [Allow section override when using patchable-function-entries](https://www.github.com/rust-lang/rust/issues/157445) * `158562`: [Improve tracing of steps in bootstrap](https://www.github.com/rust-lang/rust/issues/158562) * `158561`: [Avoid building rustdoc for tests without doctests](https://www.github.com/rust-lang/rust/issues/158561) * `158256`: [Avoid parser panics bubbling out to proc macros](https://www.github.com/rust-lang/rust/issues/158256) * `158073`: [bootstrap: fix panic when repo path contains spaces by switching to CARGO_ENCODED_RUSTFLAGS](https://www.github.com/rust-lang/rust/issues/158073) * `158593`: [Rollup of 11 pull requests](https://www.github.com/rust-lang/rust/issues/158593) * `158582`: [Comment on needed RAM in huge-stacks.rs](https://www.github.com/rust-lang/rust/issues/158582) * `158568`: [llvm-wrapper: use accessors for private fields in LLVM 23+](https://www.github.com/rust-lang/rust/issues/158568) * `158564`: [fix `-Z min-recursion-limit` unstable chapter name](https://www.github.com/rust-lang/rust/issues/158564) * `158543`: [Note usage of documentation hard links in `core::io`](https://www.github.com/rust-lang/rust/issues/158543) * `158468`: [Include default-stability info in rustdoc JSON.](https://www.github.com/rust-lang/rust/issues/158468) * `158081`: [trait-system: Recover deferred closure calls after errors](https://www.github.com/rust-lang/rust/issues/158081) * `158556`: [delegation: store child segment flag in `PathSegment`](https://www.github.com/rust-lang/rust/issues/158556) * `158375`: [Support `DefKind::InlineConst` in `ConstKind::Unevaluated`](https://www.github.com/rust-lang/rust/issues/158375) * `156295`: [Pass the whole `GenericArgs` to `Interner::for_each_relevant_impl()`](https://www.github.com/rust-lang/rust/issues/156295) * `156230`: [tests: check wasm compiler_builtins object architecture](https://www.github.com/rust-lang/rust/issues/156230) * `155722`: [Introduce aarch64-unknown-linux-pauthtest target](https://www.github.com/rust-lang/rust/issues/155722) * `158035`: [resolve: Explicit Set for detecting resolution cycles](https://www.github.com/rust-lang/rust/issues/158035) * `146275`: [lint ImproperCTypes: refactor linting architecture (part 3)](https://www.github.com/rust-lang/rust/issues/146275) * `158477`: [Remove redundant dyn-compatibility check.](https://www.github.com/rust-lang/rust/issues/158477) Co-authored-by: bors <bors@rust-lang.org> Co-authored-by: jyn <github@jyn.dev> Co-authored-by: heinwol <heinvvol@gmail.com> Co-authored-by: Jakub Beránek <berykubik@gmail.com> Co-authored-by: León Orell Valerian Liehr <me@fmease.dev> Co-authored-by: bjorn3 <17426603+bjorn3@users.noreply.github.com> Co-authored-by: Yukang <moorekang@gmail.com> Co-authored-by: Paul Murphy <murp@redhat.com> Co-authored-by: aerooneqq <aerooneq@yandex.ru> Co-authored-by: Rémy Rakic <remy.rakic@arm.com> Co-authored-by: LorrensP-2158466 <lorrens.pantelis@student.uhasselt.be> Co-authored-by: lapla <me@lapla.dev> Co-authored-by: Liza Burakova <liza@chromium.org>
|
Build failed: |
x.pycompletions. Please run./x run generate-completionsafter fixing the merge conflicts.x.pyhelp file. Please run./x run generate-helpafter fixing the merge conflicts.This PR pulls the following changes from the upstream repository:
158811: Rollup of 19 pull requests158706: Tweaks to MIR building scope API158698: Update TypeVisitable implementation158689: resolver: don't useFinalizewhen resolving visibilities during AST expansion158659: refactor the normalization incoerce_shared_info158539: MoveSizeHintandIoHandletocore::io158751: rustdoc: Fix crash when trying to inline foreign item which cannot have attributes158711: library: Comment on libtest's dicey internal soundness158704: OptimizeArrayChunks::try_rfoldwithDoubleEndedIterator::next_chunk_back158624: borrowck: Introduce BlameConstraint::to_obligation_cause_from_path()158552: make some tidy errors around python easier to understand158434: delegation: refactor AST -> HIR lowering157857: Stabilize#[my_macro] mod foo;(part ofproc_macro_hygiene)157835: expand free alias types in the auto-trait orphan check157151: JSON target specs: remove 'x86-softfloat' compatibility alias156777: Add -Zautodiff_post_passes flag to limit which llvm passes to run after enzyme to make autodiff tests more robust155989: Updatetransmute_copyto ub_checks and?Sized155932: MIR Call terminator: evaluate destination place before arguments134021: ImplementIntoIteratorfor[&[mut]] Box<[T; N], A>158692: Add release notes for 1.96.1158740: Bump version to 1.99.0158169: Fix debuginfo compression in bootstrap158795: Rollup of 21 pull requests158688: Cleanup attribute docs and add links to other mentioned attributes158687: StreamlineMacEager158684: Add missing generic test coverage for#[splat]158682: Avoid delayed bug for disabled on_type_error arguments158681: Remove unnecessaryHashderives from MIR types158680: Avoid ICE forNonZero<char>in improper_ctypes158677: Add extra splat tests158674: library: Polish transmute'ssplit_at_stdlibexample158669: Removesrc/tools/test-float-parse/Cargo.lock158651: ptr doc: reduce use of unsafe block to where needed158637: hir_ty_lowering: avoid self type lookup for inherent aliases158585: Improve diagnostic for too many super keywords158549: process::exec: using appropriate exit code on vxworks.158473: Addriscv32imfc-unknown-none-elfbare-metal target158021: Remove old MinGW workaround158665: Revert "Remove redundant dyn-compatibility check."158658: Update LLVM submodule158627: Simplify option-iterator flattening in the compiler158606: use ProjectionPredicate instead of AliasRelate158494: Improve E0277 diagnostics for conditionally implemented traits158100: Emit retags in codegen to support BorrowSanitizer (part 4)158691: Update cargo submodule158774: Mirror kernel archives inci-mirrorsto not depend on currently unavailable kernel mirror sources158525: Reorganizetests/ui/issues[17/N]158676: Rollup of 8 pull requests158667: rustc_sanitizers: use twox-hash without default features158364: rustc_target/asm: add LoongArch LSX/LASX inline asm register support158334: rustdoc: Show use-site paths for unevaluated const array lengths158574: Clarify ExitStatusExt documentation158531: Changeadjust_ident_and_get_scopearg toLocalDefId158427: Implementptr::{read,write}_unalignedviarepr(packed)158180: std: useOnceLockfor SGX environment variable storage156737: ImplementDoubleEndedIterator::next_chunk_back158663: Rollup of 8 pull requests158647: Documentstrip_circumfixbehavior on overlapping prefix and suffix.158634: Add missingneeds_dropcheck toDroplessArena.158633: Remove unnecessaryClonederives on resolver types158620: Remove skip_norm_w/i/p().def_id with a helper158613: Fix getrandom fallback test on platforms withpanic=abort158397: delegation: support simplest outputSelfmapping156716: tests: fix: parallel frontend test failures: different alloc ids158294: Use .drectve for MSVC DLL exports158604: resolve: no allocation inresolve_ident_in(_local)_module_*158639: Rollup of 6 pull requests158636: linkchecker: upgrade tohtml5ever v0.39158542: Renamealigntodefault_alignonScalarandPrimitive158516: Deduplicate codegen backends in bootstrap config158483: signed strict division: just use normal division158449: QNX target renaming157718: Do not increase depth when evaluating nested goals ofNormalizesTo158629: Rollup of 7 pull requests158616: Remove dependency fromrustc_metadataonrustc_incremental158614: Fix error message when rejecting implicit stage != 2 in CI158573: stabilizefeature(atomic_from_mut)158569: [rustdoc] Fix handling of inlining ofno_inlineof foreign items157650: rustc_target: Add OpenEmbedded/Yocto Linux base targets157347: ImplementBox::as_non_null().156379: lint oncore::ffi::c_voidas a return type158610: Rollup of 5 pull requests158592: tests: only runlexical-scope-in-match.rsfor LLDB >= 21158571: Update books158563: Test(lib/net): Fixhostname_smoketestfor Win7158560: Move per-function debuginfo methods from codegen to builder methods158600: Fixrustc --unpretty=expandedemit of[const] [unsafe] impl Trait for158595: Rollup of 7 pull requests158591: Fix spacing issue for unused parentheses lint158327: Move attribute and keyword docs fromstdtocore157445: Allow section override when using patchable-function-entries158562: Improve tracing of steps in bootstrap158561: Avoid building rustdoc for tests without doctests158256: Avoid parser panics bubbling out to proc macros158073: bootstrap: fix panic when repo path contains spaces by switching to CARGO_ENCODED_RUSTFLAGS158593: Rollup of 11 pull requests158582: Comment on needed RAM in huge-stacks.rs158568: llvm-wrapper: use accessors for private fields in LLVM 23+158564: fix-Z min-recursion-limitunstable chapter name158543: Note usage of documentation hard links incore::io158468: Include default-stability info in rustdoc JSON.158081: trait-system: Recover deferred closure calls after errors158556: delegation: store child segment flag inPathSegment158375: SupportDefKind::InlineConstinConstKind::Unevaluated156295: Pass the wholeGenericArgstoInterner::for_each_relevant_impl()156230: tests: check wasm compiler_builtins object architecture155722: Introduce aarch64-unknown-linux-pauthtest target158035: resolve: Explicit Set for detecting resolution cycles146275: lint ImproperCTypes: refactor linting architecture (part 3)158477: Remove redundant dyn-compatibility check.