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

Update Result docs to the new guarantees #124870

Closed
wants to merge 9 commits into from

Conversation

Lokathor
Copy link
Contributor

@Lokathor Lokathor commented May 8, 2024

Note: This PR did get merged, even though Github claims it did not.

The Option docs already explain the guarantees given in RFC 3391, so all that we need is a paragraph saying that some Result type combinations will also qualify.

Part of #110503

@rustbot
Copy link
Collaborator

rustbot commented May 8, 2024

r? @m-ou-se

rustbot has assigned @m-ou-se.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels May 8, 2024
@rust-log-analyzer

This comment has been minimized.

Copy link
Member

@thomcc thomcc left a comment

Choose a reason for hiding this comment

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

Looks fine except for the unrelated changes.

library/core/src/result.rs Outdated Show resolved Hide resolved
@the8472
Copy link
Member

the8472 commented May 24, 2024

The option module page currently is the central place for NPO documentation. If Result gets those too then things become more scattered. Maybe the Option page should also link to the Result page.

@Lokathor
Copy link
Contributor Author

How exactly do you think that would look @the8472 ?

The current wording is intended to be a "one way" lookup. "if X is the case, you can count on Y too", but since the guaranteed effects are part of Option then I'm not sure how Option would refer to Result.

@the8472
Copy link
Member

the8472 commented May 24, 2024

Maybe

Under some conditions the above types T are also null pointer optimized when wrapped in a [Result#Representation]

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

Copy link
Member

@dtolnay dtolnay left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you!

@dtolnay
Copy link
Member

dtolnay commented May 27, 2024

@bors r+ rollup

@bors
Copy link
Contributor

bors commented May 27, 2024

📌 Commit 9b480da has been approved by dtolnay

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 27, 2024
@dtolnay dtolnay assigned dtolnay and unassigned m-ou-se May 27, 2024
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request May 27, 2024
…lnay

Update Result docs to the new guarantees

The `Option` docs already explain the guarantees given in [RFC 3391](https://github.com/rust-lang/rfcs/blob/master/text/3391-result_ffi_guarantees.md), so all that we need is a paragraph saying that some `Result` type combinations will also qualify.

Part of rust-lang#110503
bors added a commit to rust-lang-ci/rust that referenced this pull request May 27, 2024
…llaumeGomez

Rollup of 7 pull requests

Successful merges:

 - rust-lang#124870 (Update Result docs to the new guarantees)
 - rust-lang#125148 (codegen: tweak/extend shift comments)
 - rust-lang#125522 (Add "better" edition handling on lint-docs tool)
 - rust-lang#125530 (cleanup dependence of `ExtCtxt` in transcribe when macro expansion)
 - rust-lang#125535 (clean-up: remove deprecated field `dist.missing-tools`)
 - rust-lang#125597 (Uplift `EarlyBinder` into `rustc_type_ir`)
 - rust-lang#125607 (Migrate `run-make/compile-stdin` to `rmake.rs`)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors closed this in 22668e8 May 27, 2024
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request May 27, 2024
Rollup merge of rust-lang#124870 - Lokathor:update-result-docs, r=dtolnay

Update Result docs to the new guarantees

The `Option` docs already explain the guarantees given in [RFC 3391](https://github.com/rust-lang/rfcs/blob/master/text/3391-result_ffi_guarantees.md), so all that we need is a paragraph saying that some `Result` type combinations will also qualify.

Part of rust-lang#110503
@Lokathor Lokathor deleted the update-result-docs branch May 28, 2024 08:13
@RalfJung
Copy link
Member

Why is this "closed", not "merged"? Something seems to have gone wrong?

(Also the commits would ideally have been squashed before landing this, no need to have all these 1-line-fixup commits perpetually in the git history...)

@Lokathor
Copy link
Contributor Author

i thought it was handled by bors >.>

@RalfJung
Copy link
Member

RalfJung commented May 28, 2024 via email

@Lokathor
Copy link
Contributor Author

https://github.com/rust-lang/rust/blob/master/library/core/src/result.rs#L231-L250

the PR's changes do seem to be in the master branch

@RalfJung
Copy link
Member

Yeah, 9b480da got merged. No idea why this is not reflected in the PR state.

MabezDev pushed a commit to SergioGasquez/rust that referenced this pull request May 29, 2024
qinheping added a commit to model-checking/kani that referenced this pull request May 31, 2024
Update Rust toolchain from nightly-2024-05-27 to nightly-2024-05-28
without any other source changes.
This is an automatically generated pull request. If any of the CI checks
fail, manual intervention is required. In such a case, review the
changes at https://github.com/rust-lang/rust from
rust-lang/rust@bdbbb6c
up to
rust-lang/rust@84b40fc.
The log for this commit range is:
rust-lang/rust@84b40fc908 Auto merge of
#125628 - matthiaskrgr:rollup-3zk9v3w, r=matthiaskrgr
rust-lang/rust@4966e1ae35 Rollup merge of
#125625 - ChrisDenton:line-endings, r=Mark-Simulacrum
rust-lang/rust@61f9d35798 Rollup merge of
#125616 - RalfJung:mir-validate-downcast-projection, r=compiler-errors
rust-lang/rust@e8dd585dd8 Rollup merge of
#125542 - GuillaumeGomez:migrate-rustdoc-verify-output-files, r=jieyouxu
rust-lang/rust@8bd15878eb Rollup merge of
#125339 - tbu-:pr_tidy_ui_tests_u32, r=clubby789
rust-lang/rust@f00b02e6bb Auto merge of
#125599 - camelid:clarify-stability, r=notriddle,GuillaumeGomez
rust-lang/rust@7a847fc4fb Use grep to
implement verify-line-endings
rust-lang/rust@b0f8618938 Auto merge of
#125413 - lcnr:ambig-drop-region-constraints, r=compiler-errors
rust-lang/rust@7d24f87068 MIR validation:
ensure that downcast projection is followed by field projection
rust-lang/rust@f6e4703e91 Auto merge of
#125611 - GuillaumeGomez:rollup-dfavpgg, r=GuillaumeGomez
rust-lang/rust@bdf3864d51 Migrate
`run-make/rustdoc-verify-output-files` to `rmake.rs`
rust-lang/rust@f0ab814aec Add
`Rustdoc::output_format`
rust-lang/rust@1551fd1202 Add file path in
case it cannot be read in `Diff::actual_file`
rust-lang/rust@90fec5a087 Add `copy_dir_all`
and `recursive_diff` functions to `run-make-support`
rust-lang/rust@7083131c92 Rollup merge of
#125607 - GuillaumeGomez:migrate-compile-stdin, r=jieyouxu
rust-lang/rust@a9c125f864 Rollup merge of
#125597 - compiler-errors:early-binder, r=jackh726
rust-lang/rust@cfa7ab474f Rollup merge of
#125535 - onur-ozkan:remove-deprecated-field, r=clubby789
rust-lang/rust@f50b4f5034 Rollup merge of
#125530 - SparrowLii:expand2, r=petrochenkov
rust-lang/rust@ad37f40355 Rollup merge of
#125522 - spastorino:fix-lint-docs-edition-handling,
r=Urgau,michaelwoerister
rust-lang/rust@86f2fa35a2 Rollup merge of
#125148 - RalfJung:codegen-sh, r=scottmcm
rust-lang/rust@6dddc888fc Rollup merge of
#124870 - Lokathor:update-result-docs, r=dtolnay
rust-lang/rust@a59072ec4f Auto merge of
#125602 - RalfJung:interpret-mir-lifetime, r=oli-obk
rust-lang/rust@e4abfaeb62 Migrate
`run-make/compile-stdin` to `rmake.rs`
rust-lang/rust@b582f807fa Auto merge of
#125410 - fmease:adj-lint-diag-api, r=nnethercote
rust-lang/rust@fec98b3bbc Auto merge of
#125468 - BoxyUwU:remove_defid_from_regionparam, r=compiler-errors
rust-lang/rust@e8379c9598 interpret: get rid
of 'mir lifetime everywhere
rust-lang/rust@36d36a3e1f interpret: the MIR
is actually at lifetime 'tcx
rust-lang/rust@699d28f968 rustdoc: Show
"const" for const-unstable if also overall unstable
rust-lang/rust@cdc509f7c0 Auto merge of
#125580 - RalfJung:miri-sync, r=RalfJung
rust-lang/rust@f92292978f Use EarlyBinder in
rustc_type_ir, simplify imports
rust-lang/rust@993553ceb8 Uplift EarlyBinder
rust-lang/rust@529bb2573a Auto merge of
#125593 - workingjubilee:rollup-67qk7di, r=workingjubilee
rust-lang/rust@bbcdb4fd3e Give EarlyBinder a
tcx parameter
rust-lang/rust@4ff78692db Rollup merge of
#125582 - scottmcm:less-from-usize, r=jieyouxu
rust-lang/rust@45507e4304 Rollup merge of
#125566 - camelid:notify-accepted, r=GuillaumeGomez
rust-lang/rust@25b079a1cf Rollup merge of
#125559 - scottmcm:simplify-shift-ubcheck, r=workingjubilee
rust-lang/rust@c51fc1d02b Rollup merge of
#125544 - Urgau:check-cfg-mention-cargo-specific, r=jieyouxu
rust-lang/rust@b65b2b6ced Rollup merge of
#125469 - compiler-errors:dont-skip-inner-const-body, r=cjgillot
rust-lang/rust@09e75921f3 Rollup merge of
#125466 - compiler-errors:dont-probe-for-ambig-in-sugg, r=jieyouxu
rust-lang/rust@5860d43af3 Rollup merge of
#125046 - bjorn3:no_mutable_static_linkage, r=cjgillot
rust-lang/rust@866630d004 Rollup merge of
#124048 - veera-sivarajan:bugfix-123773-c23-variadics, r=compiler-errors
rust-lang/rust@0aad3f64e2 Auto merge of
#125576 - lnicola:sync-from-ra, r=lnicola
rust-lang/rust@d37f456b2a Avoid a
`FieldIdx::from_usize` in InstSimplify
rust-lang/rust@0963353634 Auto merge of #3631
- RalfJung:blocking-refactor, r=RalfJung
rust-lang/rust@2e89443b93 add a macro to
declare thread unblock callbacks
rust-lang/rust@8e861c6c4c Auto merge of #3632
- RalfJung:readdir, r=RalfJung
rust-lang/rust@350f5c88db unix/fs: a bit of
cleanup in macos_fbsd_readdir_r
rust-lang/rust@e09bf5694b Auto merge of #3633
- RalfJung:target, r=RalfJung
rust-lang/rust@cbec1288a2 fix './miri run
--dep --target _'
rust-lang/rust@e6bb468b53 data_race: vector
indices can be reused immediately when the thread is gone
rust-lang/rust@a131243557 completely refactor
how we manage blocking and unblocking threads
rust-lang/rust@f7ca8a6d66 Auto merge of #17296
- mathew-horner:no-clone-target, r=Veykril
rust-lang/rust@bd9cc02d10 Auto merge of #17295
- 0xJonas:fix_passing_env_vars_to_cpptools, r=Veykril
rust-lang/rust@5fa30f7eaa make release_clock
always work on the current thread
rust-lang/rust@fa7a3f9049 rustdoc: Elide
const-unstable if also unstable overall
rust-lang/rust@91b3ef5b4a Notify T-rustdoc for
beta-accepted and stable-accepted too
rust-lang/rust@9b480da367 It seems that anchor
names are implicitly all lowercase
rust-lang/rust@0c84361342 Simplify the
`unchecked_sh[lr]` ub-checks a bit
rust-lang/rust@f8279b10c3 Fix URL target, it's
in the module not the type.
rust-lang/rust@2b2f83e5ff github showed that
weird.
rust-lang/rust@2e8f14fb37 correct for copy
paste errors when fixing wrapping.
rust-lang/rust@22668e83f6 Resolve
rust-lang/rust#124870 (comment)
rust-lang/rust@939f2671a0 revert to the
inconsistent paragraph wrapping.
rust-lang/rust@eb9894f3c9 Removed return
rust-lang/rust@afa8dfc51f Avoid clone when
constructing runnable label.
rust-lang/rust@09677b03dd Formatting
rust-lang/rust@78fe45e273 Semicolon
rust-lang/rust@2315c6b764 Use correct format
for setting environment variables when debugging with cpptools
rust-lang/rust@331bb3f10d Auto merge of #3630
- rust-lang:rustup-2024-05-25, r=saethlin
rust-lang/rust@bebcb4e4b8 Also mention my-self
for check-cfg docs changes
rust-lang/rust@c76477d909 add change entry
rust-lang/rust@56dddd4c7e Remove deprecated
field `dist.missing-tools`
rust-lang/rust@1d0ad04993 Merge from rustc
rust-lang/rust@3cfcfbf083 Preparing for merge
from rustc
rust-lang/rust@41d4a95fca Add "better" edition
handling on lint-docs tool
rust-lang/rust@278212342e cleanup dependence
of `ExtCtxt` in transcribe when macro expansion
rust-lang/rust@24b5466892 drop region
constraints for ambiguous goals
rust-lang/rust@ed8e436916 move generics_of
call outside of iter
rust-lang/rust@56d77b9048 Auto merge of #17275
- roife:fix-issue-17012, r=Veykril
rust-lang/rust@796cb8031d Remove failing tests
rust-lang/rust@f856ee357c Remove `DefId` from
`EarlyParamRegion` (clippy/smir)
rust-lang/rust@fe2d7794ca Remove `DefId` from
`EarlyParamRegion` (tedium/diagnostics)
rust-lang/rust@bd6344d829 Remove `DefId` from
`EarlyParamRegion` (type system)
rust-lang/rust@b7b350cff7 docs
rust-lang/rust@008f6b3a3f Auto merge of #3626
- devnexen:pthread_name_illumos, r=oli-obk
rust-lang/rust@7fc41d1bdf Auto merge of #3625
- Strophox:miri-allocation-fix, r=RalfJung
rust-lang/rust@b84620ff17 extend comments
rust-lang/rust@88d519f718 Auto merge of #3628
- RalfJung:tokio, r=RalfJung
rust-lang/rust@561bd9a5ec add back some tokio
features
rust-lang/rust@10d414091b Auto merge of #3627
- rust-lang:rustup-2024-05-24, r=RalfJung
rust-lang/rust@4763eaf066 fmt
rust-lang/rust@debf88ae1a Merge from rustc
rust-lang/rust@9ce95c30b2 Preparing for merge
from rustc
rust-lang/rust@c58b7c9c81 Don't skip inner
const when looking for body for suggestion
rust-lang/rust@4bc41b91d7 Don't continue
probing for method if in suggestion and autoderef hits ambiguity
rust-lang/rust@7f5e0aade8 solaris add suport
for threadname.
rust-lang/rust@3c7a13d870 tests: update test
for runnables
rust-lang/rust@c10bda5577 Update docs
rust-lang/rust@1a37cfb703 Use cwd from
runnable.args for debugger
rust-lang/rust@7b54c8231e Revert "Debug use
cargo workspace root as cwd. fixes #13022"
rust-lang/rust@d83b267bc1 Add cwd to
CargoRunnable
rust-lang/rust@6259991f04 Auto merge of #17287
- Veykril:sysroot-encode-empty, r=Veykril
rust-lang/rust@f93256ca42 Allow sysroots to
only consist of the source root dir
rust-lang/rust@1b374dfd9b differentiate
between layout and alloc_layout
rust-lang/rust@56c363b43e fix alloc_bytes
(always allocate at least 1B)
rust-lang/rust@ecadf37df4 Auto merge of #17284
- Veykril:doc-links, r=Veykril
rust-lang/rust@616fdd04bb Use correct
toolchain channel when generating builtin type doc links
rust-lang/rust@6e8646df8b Auto merge of #17174
- Kohei316:fix-infer-async-block-with-tail-return-expr, r=Veykril
rust-lang/rust@425ed6a181 Update
crates/hir-ty/src/infer/expr.rs
rust-lang/rust@68fe34a4c2 Auto merge of #17140
- harrysarson:harry-unused-self, r=Veykril
rust-lang/rust@6ea763b9e2 Auto merge of #3624
- rust-lang:rustup-2024-05-23, r=RalfJung
rust-lang/rust@400835fd11 fmt
rust-lang/rust@f1ffb8d859 Merge from rustc
rust-lang/rust@807a0f8c21 Preparing for merge
from rustc
rust-lang/rust@37bf2d2dab Delay the
construction of early lint diag structs
rust-lang/rust@9f67c50128 Remove `DelayDm`
rust-lang/rust@06bc4fc671 Remove
`LintDiagnostic::msg`
rust-lang/rust@366ef95407 Slightly clean up
some lint infra code
rust-lang/rust@ac2708a347 Auto merge of #17270
- davidbarsky:david/fix-completions-from-associated-types, r=Veykril
rust-lang/rust@f2c3ef77b1 fix: ensure implied
bounds from associated types are considered in autocomplete
rust-lang/rust@04a9a1a531 Auto merge of #3614
- devnexen:illumos_time_support, r=oli-obk
rust-lang/rust@0916e72a34 Auto merge of #17251
- roife:fix-issue-17057, r=Veykril
rust-lang/rust@56ce7e0e06 Auto merge of #17252
- davidbarsky:david/refactor-standalone-bools-into-struct, r=Veykril
rust-lang/rust@f50f8fbcb9 Simplify
rust-lang/rust@7a21dff517 internal: refactor
`prefer_no_std`/`prefer_prelude` bools into a struct
rust-lang/rust@4e9b12870c fix: check
pseudo-block by local_id instead of ModuleOrigin
rust-lang/rust@ad810a51f0 Auto merge of #17277
- Veykril:find-path-fixes, r=Veykril
rust-lang/rust@3f638a9291 solaris/illumos
localtime_r / clock_getime support enabled.
rust-lang/rust@d9dda8f84f Auto merge of #17279
- Veykril:format_args-escape, r=Veykril
rust-lang/rust@2ff9bab2eb fix: Fix format_args
lowering passing incorrect parameters to rustc_parse_format
rust-lang/rust@39e6032445 Auto merge of #17248
- mladedav:dm/delay-clear, r=Veykril
rust-lang/rust@24bf53d993 Auto merge of #17268
- Veykril:signatures, r=Veykril
rust-lang/rust@b1830a5fe6 Update assists test
fixtures
rust-lang/rust@b29c755572 expectify find_path
tests
rust-lang/rust@5992af6506 fix: Fix general
find-path inconsistencies
rust-lang/rust@7fd1429754 Auto merge of #3623
- RalfJung:rustup, r=RalfJung
rust-lang/rust@abbe244a81 clippy
rust-lang/rust@a1bc030b70 Merge from rustc
rust-lang/rust@24138f0034 Preparing for merge
from rustc
rust-lang/rust@c8b0e5b1a4 The number of tests
does not depend on the architecture's pointer width
rust-lang/rust@719eee2d82 test: add tests for
extern preludes resolving in local mods
rust-lang/rust@41c006e21a Auto merge of #3610
- marc0246:missing-error-kinds, r=RalfJung
rust-lang/rust@37a37f6ab3 Use
`throw_unsup_format` instead of returning `ENOTSUP` in the mmap shim
rust-lang/rust@6438554bce Show fn traits in
signature info for trait implementors
rust-lang/rust@f42e55dfc8 Enable linked
locations for closure param inlay hints
rust-lang/rust@4b3d7f6039 Render closure fn
trait kind in siganture help
rust-lang/rust@7045044da3 Allow hir::Param to
refer to other entity params aside from functions
rust-lang/rust@9ff4ffb817 Update builtin tool
list
rust-lang/rust@ea2a16cadb fix: resolve extern
prelude for local mods in block modules
rust-lang/rust@1287e868e9 Clear diagnostics
only after new ones were received
rust-lang/rust@17bd43cb25 codegen:
tweak/extend shift comments
rust-lang/rust@b468f21051 Don't use `T` with
both Result and Option, improve explanation.
rust-lang/rust@531dae1cdf Only allow immutable
statics with #[linkage]
rust-lang/rust@10f8d1ffef use teletype on the
attribute name
rust-lang/rust@f94fa6bee3 Some Result
combinations work like an Option.
rust-lang/rust@dd16cbcb4e braces around {self}
in UseTree are not unnecessary
rust-lang/rust@39a653f632 Fix coercion of
async block
rust-lang/rust@f005b451c2 Support C23's
Variadics Without a Named Parameter
rust-lang/rust@62a104df98 Update Tests

Co-authored-by: qinheping <16714939+qinheping@users.noreply.github.com>
@RalfJung RalfJung added this to the 1.80.0 milestone Jun 12, 2024
@RalfJung RalfJung added the relnotes Marks issues that should be documented in the release notes of the next release. label Jun 12, 2024
celinval added a commit to celinval/rust-dev that referenced this pull request Jul 17, 2024
5e4edba Rollup merge of rust-lang#127789 - Sword-Destiny:master, r=petrochenkov
686f75b Rollup merge of rust-lang#127047 - tspiteri:f128-aconsts-lsd, r=tgross35
8b1d874 deny unsafe_op_in_unsafe_fn for teeos
f8bb325 clean unsafe op in unsafe fn
b597017 clean unsafe op in unsafe fn
9fd9c61 clean unsafe op in unsafe fn
e0c57e4 delete #![allow(unsafe_op_in_unsafe_fn)]
a778c83 Auto merge of rust-lang#127777 - matthiaskrgr:rollup-qp2vkan, r=matthiaskrgr
6535591 Rollup merge of rust-lang#124921 - RalfJung:offset-from-same-addr, r=oli-obk
ac443f2 Auto merge of rust-lang#127020 - tgross35:f16-f128-classify, r=workingjubilee
eae9451 Rollup merge of rust-lang#127750 - ChrisDenton:safe-unsafe-unsafe, r=workingjubilee
6257980 Rollup merge of rust-lang#127744 - workingjubilee:deny-unsafe-op-in-std, r=jhpratt
05614f3 Rollup merge of rust-lang#127712 - ChrisDenton:raw-types, r=workingjubilee
14c24b1 Mark some `f16` and `f128` functions unstably const
1b70afd Move safety comment outside unsafe block
3c286d5 Make os/windows default to deny unsafe in unsafe
d96ed86 Make pal/windows default to deny unsafe in unsafe
bb3f60f Fix Windows 7
9fc6710 Auto merge of rust-lang#127719 - devnexen:math_log_fix_solill, r=Amanieu
decdb06 Don't re-export `c_int` from `c`
a1a1c6a Remove DWORD
7d18991 Remove ULONG
d89bce6 Remove PSRWLOCK
d3205de Remove LPVOID
68ac381 Remove LPSECURITY_ATTRIBUTES
6d037b8 Remove LPOVERLAPPED
61f617d Remove LPCVOID
8a25371 Remove SIZE_T
cd51de1 Remove CHAR
00a5b3b Remove USHORT
d621d21 Remove LPWSTR
0b22ecb Remove UINT
18adcef Remove LONG
4eaaf7d Remove LARGE_INTEGER
aa45985 Remove NonZeroDWORD
d7aa7cf Auto merge of rust-lang#127732 - GrigorenkoPV:teeos-safe-sys-init, r=Amanieu
5ff7b40 std: Unsafe-wrap std::sync
e8fa3ef std: Unsafe-wrap in Wtf8 impl
8c3a9c1 std: Unsafe-wrap std::io
91b7331 std: Directly call unsafe {un,}setenv in env
8c75111 std: Unsafe-wrap OSStr{,ing}::from_encoded_bytes_unchecked
4679f9a std: Unsafe-wrap HashMap::get_many_unchecked_mut
ac0fd27 std: deny(unsafe_op_in_unsafe_fn) but allow sites
f710e38 Add `classify` and related methods for `f16` and `f128`
009660d std: removes logarithms family function edge cases handling for solaris.
3492a6b Auto merge of rust-lang#127728 - matthiaskrgr:rollup-ercdbjd, r=matthiaskrgr
0873299 sys::init is not unsafe on teeos
6c4029a Rollup merge of rust-lang#127592 - tesuji:patch-1, r=Mark-Simulacrum
7cd8086 Auto merge of rust-lang#125935 - madsmtm:merge-os-apple, r=workingjubilee
cfb0556 Merge Apple `std::os` extensions modules into `std::os::darwin`
54435f7 Rollup merge of rust-lang#127704 - workingjubilee:fixup-better-than, r=ChrisDenton
e122949 Auto merge of rust-lang#127706 - workingjubilee:rollup-d07ij30, r=workingjubilee
3033120 Rollup merge of rust-lang#127659 - saethlin:manually-drop-bufwriter, r=joboet
e9eb7de Rollup merge of rust-lang#127446 - zachs18:miri-stdlib-leaks-core-alloc, r=Mark-Simulacrum
3ad2560 Rollup merge of rust-lang#127370 - ChrisDenton:win-sys, r=Mark-Simulacrum
05bf6bc doc: Suggest `str::repeat` over `iter::repeat().take().collect()`
96e8ba7 Fix minor typos in std::process doc on Win argv
6b67c66 Auto merge of rust-lang#126958 - dtolnay:u32char, r=Mark-Simulacrum
591aaaf std::unix::fs: removing, now useless, layers predating macOs 10.10.
94ec6e7 Auto merge of rust-lang#127674 - jhpratt:rollup-0dxy3k7, r=jhpratt
a7c1f60 Rollup merge of rust-lang#127668 - spencer3035:improve-slice-doc, r=jhpratt
1e49e05 Rollup merge of rust-lang#127661 - eduardosm:stabilize-io_slice_advance, r=cuviper
c79e003 Auto merge of rust-lang#127397 - jyn514:multi-thread-panic-hook, r=workingjubilee
206678c Auto merge of rust-lang#126606 - zachs18:patch-2, r=joboet
1bb0350 Updated slice documentation
c8b79dd Use ManuallyDrop in BufWriter::into_parts
6e26e27 Stabilize io_slice_advance
cac6664 Rename the internal `const_strlen` to just `strlen`
39647ab fix interleaved panic output
0476fc4 Rollup merge of rust-lang#127433 - dtolnay:conststrlen, r=workingjubilee
f66bd5f Rollup merge of rust-lang#126827 - the8472:pidfd-spawn, r=workingjubilee
1e5cd21 Rollup merge of rust-lang#124980 - zachs18:rc-allocator, r=Amanieu
949f0d6 Add instability attribute on private const_strlen function
20bfac6 Rollup merge of rust-lang#127422 - greaka:master, r=workingjubilee
f937ef1 Rollup merge of rust-lang#127599 - tgross35:lazy_cell_consume-rename, r=workingjubilee
fde7fd2 Rollup merge of rust-lang#127588 - uweigand:s390x-f16-doctests, r=tgross35
ed47f98 Rollup merge of rust-lang#127572 - tbu-:pr_debug_event_nonpacked, r=jhpratt
e5c8b85 Rollup merge of rust-lang#124599 - estebank:issue-41708, r=wesleywiser
b71b538 Rename `lazy_cell_consume` to `lazy_cell_into_inner`
9efc1cb core: Limit remaining f16 doctests to x86_64 linux
a18fbd0 Rollup merge of rust-lang#127554 - ferrocene:tshepang-add-missing-attribute, r=pietroalbini
e419147 Don't mark `DEBUG_EVENT` struct as `repr(packed)`
4552576 Auto merge of rust-lang#126690 - andyolivares:feature/show_window, r=dtolnay
6f6e343 Rollup merge of rust-lang#127091 - Sky9x:fused-error-sources-iter, r=dtolnay
0d64105 Fixed doc links
4fb7b22 Few changes to doc comments. Added tracking issue number.
fe62f6f Exposing STARTUPINFOW.wShowWindow in CommandExt (show_window function) to control how a new process should display its window (normal, minimized, maximized, etc)
7d20047  do not run test where it cannot run
c5f1c76 Auto merge of rust-lang#127235 - martn3:no-mips-f16, r=tgross35,scottmcm
3fefa04 Rollup merge of rust-lang#127460 - Borgerr:clarify-drop-comment, r=jhpratt
895175a Rollup merge of rust-lang#127355 - aceArt-GmbH:126475, r=oli-obk
57cea32 Rollup merge of rust-lang#120248 - WaffleLapkin:bonk-ptr-object-casts, r=compiler-errors,oli-obk,lnicola
e74955e Attempt to fix CI
e466bf5 Rollup merge of rust-lang#127367 - ChrisDenton:run-sync, r=Nilstrieb
90504f8 Rollup merge of rust-lang#126921 - workingjubilee:outline-va-list, r=Nilstrieb
c6b3f3d Auto merge of rust-lang#127454 - matthiaskrgr:rollup-k3vfen2, r=matthiaskrgr
29d7923 Move/change declaration of `mod exit_guard;`
ecc9025 clarify `sys::unix::fd::FileDesc::drop` comment (rust-lang#66876)
35c5a45 Rollup merge of rust-lang#127447 - RalfJung:once_lock_miri, r=joboet
9f7100d Rollup merge of rust-lang#127354 - nicholasbishop:bishop-sized-doc, r=Nilstrieb
ee06e7d Rollup merge of rust-lang#127297 - the8472:path-new-hash, r=Nilstrieb
2206c6b Rollup merge of rust-lang#127189 - GrigorenkoPV:linkedlist-cursor-list, r=Nilstrieb
41bcc36 Rollup merge of rust-lang#127179 - tgross35:typeid-debug-hex, r=Nilstrieb
7177ac8 once_lock: make test not take as long in Miri
294d87f Remove non-focused memory leak in `std` doctest for Miri.
a86fd0f Specialize `TrustedLen` for `Iterator::unzip()`
5515bba Mitigate focused memory leaks in `core` doctests for Miri.
3a0fe26 Remove non-focused memory leaks in `core` doctests for Miri.
20d6cb3 Mitigate focused memory leaks in `alloc` doctests for Miri.
cac8902 Remove non-focused memory leaks in `alloc` doctests for Miri.
bcdc8e8 Stabilize const_cstr_from_ptr (CStr::from_ptr, CStr::count_bytes)
a48f566 offset_from intrinsic: always allow pointers to point to the same address
9919a83 Mark format! with must_use hint
0907955 as_simd: fix comment to be in line with 507583a (rust-lang#121201)
5569ece Rollup merge of rust-lang#127275 - RalfJung:offset-from-isize-min, r=Amanieu
2337ab5 Rollup merge of rust-lang#125751 - pitaj:new_range_api, r=jhpratt
ad4fde6 Rollup merge of rust-lang#127363 - GuillaumeGomez:improve-fmt-code-readability, r=Amanieu
3eeca5f Rollup merge of rust-lang#127107 - mu001999-contrib:dead/enhance-2, r=pnkfelix
1b5e5ac Rollup merge of rust-lang#123600 - tisonkun:path_with_extension, r=dtolnay
5e9d445 Attempt to fix CI
d8965d3 add `new_range_api` for RFC 3550
ca0f659 Move exit guard from sys::common::exit_guard to sys::exit_guard.
cf300a7 Update library/std/src/sys/pal/common/exit_guard.rs
ba4c71a add unit tests for extra extension feature
55fc20b update comments
6b7a259 Add experimental raw-dylib feature to std
c452e62 Use windows_targets macro for alloc
521c81a Run alloc sync tests
2fcdebb Improve readability of some fmt code examples
625bcc4 Rollup merge of rust-lang#127320 - ChrisDenton:win-sys, r=Mark-Simulacrum
f8caf5f Rollup merge of rust-lang#127214 - bjorn3:miri_native_unwind, r=oli-obk
1862054 Describe Sized requirements for mem::offset_of
e26c881 impl FusedIterator and a size hint for the error sources iter
8f1c664 core: erase redundant stability attrs in va_list
60c33a5 library: outline VaList into ffi::va_list
03d11c2 Auto merge of rust-lang#126171 - RalfJung:simd_bitmask_multibyte, r=workingjubilee
297850a Add more checks for pointers with vtable meta
f58a3d6 Improve dead code analysis
515bd30 Add comments to windows_targets.rs
89d2de0 Update windows-bindgen to 0.58.0
0860a04 also remove redundant requirements from offset()
6f80604 offset_from: "the difference must fit in an isize" is a corollary
de4f5c2 Rollup merge of rust-lang#127303 - cuishuang:master, r=jhpratt
56c73c3 Rollup merge of rust-lang#127195 - biabbas:vxworks_cleanup, r=jhpratt
5dfdef7 Rollup merge of rust-lang#126792 - wooden-worm:master, r=Mark-Simulacrum
4df2059 chore: remove repeat words
acbefbb impl PathBuf::add_extension and Path::with_added_extension
13d5a42 Auto merge of rust-lang#127226 - mat-1:optimize-siphash-round, r=nnethercote
ed3d487 stir the hash state a little to avoid prefix collisions
5ca124f Add more test cases for path comparisons
33bc557 Add test case demonstrating equality of paths "foo/bar" and "foobar"
079f999 Move unique_thread_exit call to lang_start_internal so it is not in a generic function, and wrap it in `catch_unwind`
47d0cbc Remove Miri special-case
596be7e Use pthread_t instead of numeric thread id
2e90f6f Use libc::pause instead of std::thread::park in wait-for-exit loop
1fd23e8 core: Limit four f16 doctests to x86_64 linux
e6f15c5 std: Set has_reliable_f16 to false for MIPS targets in build.rs
67535b6 library/std/build.rs: "powerpc64le" is not a target_arch
5b0d82f Rollup merge of rust-lang#127204 - dimpolo:stabilize_atomic_bool_fetch_not, r=jhpratt
b184a84 Rollup merge of rust-lang#123588 - tgross35:stabilize-assert_unchecked, r=dtolnay
2a81053 Fall back on remove dir implementation for vxworks
a8b6d0a Rollup merge of rust-lang#127230 - hattizai:patch01, r=saethlin
4d7cbb2 chore: remove duplicate words
645e9f2 Optimize SipHash by reordering compress instructions
c5ab1f0 Rollup merge of rust-lang#127128 - elomatreb:elomatreb/stabilize-duration_abs_diff, r=joboet
f090672 Rollup merge of rust-lang#126732 - StackOverflowExcept1on:master, r=m-ou-se
1dc4f05 Use the native unwind function in miri where possible
4fff335 Avoid MIR bloat in inlining
4385efd Stabilize atomic_bool_fetch_not
6c3359c Rollup merge of rust-lang#127182 - danielhuang:patch-4, r=Nilstrieb
a0a438a Remove unqualified import io:: Error for vxworks as all Error references are qualified in process_vxworks.rs
2a65e9f Auto merge of rust-lang#127026 - Urgau:cleanup-bootstrap-check-cfg, r=Kobzol
bba2200 LinkedList's Cursor: method to get a ref to the cursor's list
40a9be9 Update ip_addr.rs
986dbd1 Print `TypeId` as hex for debugging
f27723e Rollup merge of rust-lang#127069 - Sky9x:fmt-pointer-use-addr, r=Nilstrieb
b068fce Rollup merge of rust-lang#126895 - betelgeuse:improve_simd_gather_documentation, r=Amanieu
a6b22e9 Rollup merge of rust-lang#127134 - tgross35:typeid-debug, r=Nilstrieb
7f0bb45 Rollup merge of rust-lang#126906 - GrigorenkoPV:fixme-split_at_first, r=Mark-Simulacrum
b0feb54 Rollup merge of rust-lang#126705 - safinaskar:panic, r=Mark-Simulacrum
b8977f5 Auto merge of rust-lang#127133 - matthiaskrgr:rollup-jxkp3yf, r=matthiaskrgr
affa2f9 Print `TypeId` as a `u128` for `Debug`
05a472c Rollup merge of rust-lang#127122 - TDecking:div_ceil, r=Nilstrieb
9b3a511 Auto merge of rust-lang#120639 - fee1-dead-contrib:new-effects-desugaring, r=oli-obk
f96a321 Stabilize `duration_abs_diff`
bf9096f small correction to fmt::Pointer impl
171f5db Auto merge of rust-lang#127121 - GuillaumeGomez:rollup-xjjjckn, r=GuillaumeGomez
50a6646 Remove uneccessary condition in `div_ceil`
7914389 Updated docs on `#[panic_handler]` in `library/core/src/lib.rs`
1858bdc Rollup merge of rust-lang#127073 - Sky9x:unnecessary-seqcst, r=Nilstrieb
aaed209 Rollup merge of rust-lang#127072 - Sky9x:docs-includes-vs-does-include, r=scottmcm
e5a577d Auto merge of rust-lang#127119 - RalfJung:miri-sync, r=RalfJung
77a5b51 Rollup merge of rust-lang#126953 - joboet:lazy_key, r=jhpratt
8641f6a Merge from rustc
402992c Rollup merge of rust-lang#127071 - Sky9x:remove-ptr-to-from-bits, r=scottmcm
0a2d8e4 Rollup merge of rust-lang#127070 - Sky9x:unit-const-param-ty, r=BoxyUwU
663f3d5 Rollup merge of rust-lang#127055 - shepmaster:hash-finish-must-use, r=dtolnay
729a10a address review comments
db228b8 general fixups and turn `TODO`s into `FIXME`s
47492c9 Implement `Min` trait in new solver
cc4a029 implement new effects desugaring
d6fadf5 std: add safety comments
8c3c7dc Rollup merge of rust-lang#126970 - DaniPopes:simplify-str-clone_into, r=cuviper
ae98528 Rollup merge of rust-lang#126956 - joboet:fmt_no_extern_ty, r=RalfJung
652f0b8 Merge from rustc
48dc678 Remove unnecessary SeqCst in `impl fmt::Pointer for AtomicPtr`
e6e5e84 docs: say "includes" instead of "does include"
a722d39 Remove (deprecated & unstable) {to,from}_bits pointer methods
2ed9c9f add () to the marker_impls macro for ConstParamTy
fdfe014 Mark `Hasher::finish` as #[must_use]
2bd2069 fix least significant digits of f128 associated constants
8db57c2 core: improve comment
1f8c8f4 Cleanup bootstrap check-cfg
6c38c60 Rollup merge of rust-lang#126980 - Borgerr:fix-extendfromslice-check, r=workingjubilee
a2dc9b5 Rollup merge of rust-lang#126929 - nnethercote:rm-__rust_force_expr, r=oli-obk
cf231e8 Merge from rustc
a8b311e Auto merge of rust-lang#126608 - tgross35:f16-f128-library, r=Mark-Simulacrum
4788a93 std: test a variety of ways to extend a Wtf8Buf
57c2de8 set self.is_known_utf8 to false in extend_from_slice
c14a130 Rollup merge of rust-lang#126879 - the8472:next-chunk-filter-drop, r=cuviper
f6fdef3 core: avoid `extern` types in formatting infrastructure
43a865a fix UI test, simplify error message
ff33a66 regression test for leaks in the the Filter::next_chunk implementation
f90972a add comments explaining optimizations for Filter::next_chunk
4039a7f fix Drop items getting leaked in Filter::next_chunk
0351c53 Simplify `str::clone_into`
5aedb8a Rollup merge of rust-lang#126946 - cyrgani:patch-1, r=compiler-errors
5664da3 Rollup merge of rust-lang#126927 - workingjubilee:vaargsafe-is-unsafe, r=joboet
9273373 Rollup merge of rust-lang#126885 - Borgerr:rm_internal_pathbuf_asmutvec, r=workingjubilee
46074aa Rollup merge of rust-lang#126302 - mu001999-contrib:ignore/default, r=michaelwoerister
0fe5362 Stabilize const unchecked conversion from u32 to char
9dcaa15 std: separate TLS key creation from TLS access
5d08a54 Detect unused structs which derived Default
e6c45e4 `PathBuf::as_mut_vec` removed and verified for UEFI and Windows platforms rust-lang#126333
7cec6ef remove references to `PathBuf::as_mut_vec` in `PathBuf::_set_extension`
37f78f4 inner truncate methods for UEFI platforms
cfb8021 rust-lang#126333 remove `PathBuf::as_mut_vec` reference at top of `PathBuf::_push`
3edb521 simd_bitmask intrinsic: add a non-power-of-2 multi-byte example
2ddf794 Add missing slash in const_eval_select doc comment
19cfdb2 Add tests for `f16` and `f128`
561daff Add more `f16` and `f128` library functions and constants
6cb3d34 Add doctests to existing `f16` and `f128` functions
b0e0503 Add build.rs config for reliable `f16` and `f128`
028026b Remove `__rust_force_expr`.
1069a68 core: VaArgSafe is an unsafe trait
a451b2a Auto merge of rust-lang#126852 - scottmcm:more-checked-math-tweaks, r=Amanieu
17d03b9 Check that we get somewhat sane PIDs when spawning with pidfds
4c9a96e more fine-grained feature-detection for pidfd spawning
bf06e43 document safety properties of the internal Process::new constructor
9212236 use pidfd_spawn for faster process creation when pidfds are requested
4815f29 document the cvt methods
1bd207e Rollup merge of rust-lang#126904 - GrigorenkoPV:nonzero-fixme, r=joboet
2676918 Rollup merge of rust-lang#125575 - dingxiangfei2009:derive-smart-ptr, r=davidtwco
9dcffa5 Rollup merge of rust-lang#125082 - kpreid:const-uninit, r=dtolnay
cf34f71 Replace `MaybeUninit::uninit_array()` with array repeat expression.
e51d8a2 Auto merge of rust-lang#126523 - joboet:the_great_big_tls_refactor, r=Mark-Simulacrum
2b8c7a3 Small fixme in core now that split_first has no codegen issues
532304b Small fixme in core now that NonZero is generic
5ae0378 std: fix wasm builds
ae08c58 Rollup merge of rust-lang#126213 - zachs18:atomicbool-u8-i8-from-ptr-alignment, r=Nilstrieb
071e80d Fix simd_gather documentation
0c4a661 wasm64 build with target-feature=+simd128,+atomics
36a20f7 Reword docs for `f32` and `f64`
6839ec5 Extract repeated constants from `f32` and `f64` source
c26bd79 Rollup merge of rust-lang#126854 - devnexen:std_unix_os_fallback_upd, r=Mark-Simulacrum
828e528 Rollup merge of rust-lang#126807 - devnexen:copy_file_macos_simpl, r=Mark-Simulacrum
e4bc79d Also get `add nuw` from `uN::checked_add`
7c83a04 SmartPointer derive-macro
f0b95fc fix build
12ec5b7 Rollup merge of rust-lang#126783 - tguichaoua:fix_tcplistener_into_incoming_issue_number, r=workingjubilee
eb265d0 std::unix::os::home_dir: fallback's optimisation.
a48f3d6 Auto merge of rust-lang#126838 - matthiaskrgr:rollup-qkop22o, r=matthiaskrgr
ec8af4b Rollup merge of rust-lang#126552 - fee1-dead-contrib:rmfx, r=compiler-errors
6d6ba92 Rollup merge of rust-lang#126140 - eduardosm:stabilize-fs_try_exists, r=Amanieu
e1edea8 Auto merge of rust-lang#116113 - kpreid:arcmut, r=dtolnay
49d4fdb Generalize `{Rc,Arc}::make_mut()` to unsized types.
5ac719e Replace `WriteCloneIntoRaw` with `CloneToUninit`.
a4ca461 Add `core::clone::CloneToUninit`.
7836843 Auto merge of rust-lang#126750 - scottmcm:less-unlikely, r=jhpratt
934e728 Auto merge of rust-lang#124101 - the8472:pidfd-methods, r=cuviper
c2ec99b to extract a pidfd we must consume the child
f7cf777 Add PidFd::{kill, wait, try_wait}
d688595 std::unix::fs: copy simplification for apple.
bb602cf Auto merge of rust-lang#125853 - tesuji:promote-fail-fast, r=cjgillot
1f17936 update intrinsic const param counting
5e7ce0b Remove `feature(effects)` from the standard library
8902c17 Auto merge of rust-lang#126781 - matthiaskrgr:rollup-5u4pens, r=matthiaskrgr
54eaed7 fix issue number
2e01ae3 Rollup merge of rust-lang#126613 - tgross35:log-test-update, r=cuviper
306d7bf Stop using `unlikely` in `strict_*` methods
a8ab1ce [GVN] Add tests for generic pointees with PtrMetadata
a272844 Don't perform mitigation for thread-unsafe libc::exit under Miri.
5035a17 fix rustdoc URL
1530977 On `target_os = "linux"`, ensure that only one Rust thread calls `libc::exit` or returns from `main`.
7e940ba Auto merge of rust-lang#126578 - scottmcm:inlining-bonuses-too, r=davidtwco
9a945fd Auto merge of rust-lang#124032 - Voultapher:a-new-sort, r=thomcc
dbaf524 Rollup merge of rust-lang#126737 - fee1-dead-contrib:rm-const-closures, r=compiler-errors
0f6922d Fix wrong big O star bracing in the doc comments
7bf7f57 Remove `feature(const_closures)` from libcore
b4e2e4a Auto merge of rust-lang#126736 - matthiaskrgr:rollup-rb20oe3, r=matthiaskrgr
0829ab8 Rollup merge of rust-lang#126717 - nnethercote:rustfmt-use-pre-cleanups, r=jieyouxu
f1c9c80 Rollup merge of rust-lang#126711 - GKFX:const-option-as-slice, r=oli-obk
e057232 Auto merge of rust-lang#116088 - nbdd0121:unwind, r=Amanieu,RalfJung
13ea648 Stabilize `PanicInfo::message()` and `PanicMessage`
b6a3858 Rollup merge of rust-lang#126703 - the8472:on-blackbox-crypto-use, r=scottmcm
847726d Shrink some slice iterator MIR
1ba2fa4 Stabilize `hint_assert_unchecked`
9d0041c Update documentation for `hint::assert_unchecked`
e3e84a7 Add blank lines after module-level `//` comments.
36ad0db Add blank lines after module-level `//!` comments.
4e67110 Convert some module-level `//` and `///` comments to `//!`.
669d6fc Make Option::as_[mut_]slice const
4ae781c reword the hint::blackbox non-guarantees
dd7c901 core: add tracking issue for `array::repeat`
5ddeaca core: simplify implementation of `array::repeat`, address other nits
62f7a4e core: implement `UncheckedIterator` for `RepeatN`
387fd1f core: implement `array::repeat`
3fc18d0 Add a hack to prevent proc_macro misopt in CI
a95938d Stabilise c_unwind
2a5e5b8 Rollup merge of rust-lang#125787 - Oneirical:infinite-test-a-novel, r=jieyouxu
227994d try implementing suggestions
78867ab run_make_support nm implementation + bin-emit-no-symbols rmake rewrite
76e61bf Replace `move||` with `move ||` in `compiler/` and `library/`
13a31b6 Auto merge of rust-lang#126330 - m-ou-se:panic-message-type, r=Amanieu
42802a3 Print the tested value in int_log tests
ea1ab74 Add missing CopyMarker impl
384c205 Revert panic_safe test changes
ca458ba Add PanicMessage type for PanicInfo::message().
2238945 Add tracking issue to async_drop API
0b3227b std: rename module for clarity
2b9a4f3 std: update TLS module documentation
00d4964 std: use the `c_int` from `core::ffi` instead of `libc`
bd3b9ec std: simplify `#[cfg]`s for TLS
78eaad5 Fix unintended regression for Freeze + Copy types
8cd20cb Auto merge of rust-lang#126569 - jieyouxu:rollup-1uvkb2y, r=jieyouxu
c1acd7a Rollup merge of rust-lang#126531 - slanterns:error_provider, r=workingjubilee
cd1c998 Rollup merge of rust-lang#126468 - RalfJung:euclid, r=Mark-Simulacrum
2730879 Rollup merge of rust-lang#126346 - hermit-os:fd, r=Amanieu
ebbce69 Rollup merge of rust-lang#126288 - x4exr:patch-1, r=dtolnay
4aa43c7 Auto merge of rust-lang#125720 - folkertdev:optimize_for_size-ptr-rotate, r=Amanieu
7912329 doc: Added commas where needed
48e1578 Fix doc-link issue
489dfce Remove reliance on const_trait in sort implementations
89b5784 std: move `sys_common::backtrace` to `sys`
90dbe22 use rustc-dep-of-std in panic_unwind
6832ad3 Rollup merge of rust-lang#126539 - lukaslueg:patch-1, r=jhpratt
04e46c2 Rollup merge of rust-lang#125112 - tbu-:pr_create_dir_all_empty, r=dtolnay
e77b474 Update `Arc::try_unwrap()` docs
83c530f Apply review comments
ae7f43e Auto merge of rust-lang#126299 - scottmcm:tune-sliceindex-ubchecks, r=saethlin
339f266 Redo SliceIndex implementations
2388743 update comment
4cc1c37 Rollup merge of rust-lang#126229 - ChrisDenton:bindgen, r=Mark-Simulacrum
b40c54b std: refactor the TLS implementation
7e3c4f8 Auto merge of rust-lang#126518 - matthiaskrgr:rollup-wb70rzq, r=matthiaskrgr
2678593 std: suggest OnceLock over Once
b509ed2 Polish `std::path::absolute` documentation.
c3c1757 Auto merge of rust-lang#126473 - matthiaskrgr:rollup-8w2xm09, r=matthiaskrgr
a135342 Rollup merge of rust-lang#126285 - kpreid:unique-rc, r=dtolnay
7fafb6d Rollup merge of rust-lang#126266 - tbu-:pr_doc_alloc_default_system, r=jhpratt
afee9f5 Rollup merge of rust-lang#126135 - hermit-os:fuse, r=jhpratt
4a32b4b Rollup merge of rust-lang#123769 - dtolnay:literal, r=fee1-dead
3909d51 div_euclid, rem_euclid: clarify/extend documentation
ca52a2c Rollup merge of rust-lang#126351 - devnexen:to_sol11_upd, r=ChrisDenton
369fa55 Rollup merge of rust-lang#126402 - firefighterduck:fix-unsafe-precon-copy, r=Nilstrieb
2acb995 Rollup merge of rust-lang#126390 - Kriskras99:master, r=Nilstrieb
b3c1dcb Rollup merge of rust-lang#126360 - compiler-errors:uplift-structural-traits, r=lcnr
bdb9aa2 Rollup merge of rust-lang#123726 - jieyouxu:command-new-docs, r=Nilstrieb
307d1af Remove superfluous escaping from byte, byte str, and c str literals
78d94ee LangItem-ify Coroutine trait in solvers
891f00c fix wrong assert_unsafe_precondition message for core::ptr::copy
9adf702 Rollup merge of rust-lang#126384 - RalfJung:is_none_or, r=workingjubilee
02cb1e9 Rollup merge of rust-lang#126347 - slanterns:try_simplify, r=scottmcm
fa2a54a Fix wording in {checked_}next_power_of_two
3ef894f add tracking issue for is_none_or
a5fe19d std::unix::fs::link using direct linkat call for Solaris and macOs.
9921cd2 Rollup merge of rust-lang#126328 - RalfJung:is_none_or, r=workingjubilee
93583a6 Simplify `try_*` on `Iterator`
47090b1 export std::os::fd module on HermitOS
17c90d8 Auto merge of rust-lang#126273 - pietroalbini:pa-bootstrap-update, r=Mark-Simulacrum
b482e06 add is_none_or
027c82e Rollup merge of rust-lang#126322 - m-ou-se:panicinfo-and-panicinfo-2, r=RalfJung
db03ec6 Rollup merge of rust-lang#126242 - yaahc:simplify-provider, r=jhpratt
956efde Rollup merge of rust-lang#126039 - dpaoliello:arm64ecbuild, r=davidtwco
3acb41f Fix deprecated version.
bc5e618 Update doc comment on PanicInfo::message().
249d63e Use payload_as_str instead of two downcasts.
15677e9 Fix deprecation version.
a239d5b Clarify doc comment.
209f8c8 Auto merge of rust-lang#126319 - workingjubilee:rollup-lendnud, r=workingjubilee
6ec98e7 Rollup merge of rust-lang#126305 - workingjubilee:fix-os-string-to-string-utf8-invariant, r=joboet
80467da Rollup merge of rust-lang#126287 - nnethercote:reformat-cranelift-patch, r=bjorn3
5760a4e Rollup merge of rust-lang#126281 - ChrisDenton:env, r=jhpratt
439c2ae Rollup merge of rust-lang#126249 - workingjubilee:simplify-try-map-signature, r=scottmcm
23e3dbf Rollup merge of rust-lang#126210 - lolbinarycat:ptr_doctest_assert, r=workingjubilee
d469394 Rollup merge of rust-lang#123374 - mgeier:doc-slice-from-raw-parts, r=scottmcm
63fe960 Require any function with a tait in its signature to actually constrain a hidden type
e1d73c2 Revert "Rollup merge of rust-lang#125362 - joboet:tait_hack, r=Nilstrieb"
382ed52 Make PathBuf less Ok with adding UTF-16 then `into_string`
548e7a4 Update a cranelift patch file for formatting changes.
8ccbe9e `UniqueRc`: support allocators and `T: ?Sized`.
b3dcee6 set_env: State the conclusion upfront
f56c023 Rename `std::fs::try_exists` to  `std::fs::exists` and stabilize fs_try_exists
c16d8b1 Unify guarantees about the default allocator
d8fe589 remove cfg(bootstrap)
a2ff49b replace version placeholder
f72e4a9 Formatting.
0503ca7 Bump deprecation of std's PanicInfo alias to 1.82.0.
fea6b03 Add PanicHookInfo::payload_as_str().
0c8a9e0 Fix display of panic message in recursive panic.
2f85702 Mention core's PanicInfo in error.md.
ad0667f Add note on panic payload type.
518722e Downcast panic payload to String too in example.
c4dea81 Move deprecation of std::panic::PanicInfo to 1.80.0.
143e4c4 Fix deprecation version.
c6749ae Rename std::panic::PanicInfo to PanicHookInfo.
db2e055 Formatting.
51f20ac Fix invalid markdown/html.
d4b7304 Reorder body of begin_panic for consistency.
373fb60 Impl Display for PanicPayload to simplify things.
224d45c Use unnamed lifetimes for [..]Payload impl blocks.
cf984e0 Move downcasting panic payload to str to a function.
a18eeac Mark some PanicInfo methods as #[inline] for consistency.
47f359b Remove std::panic::PanicInfo::internal_constructor+set_payload.
701d6a2 Remove core::panic::PanicInfo::internal_constructor.
cca865d Update doc comment about core::panicking.
221a90c Fix doc link.
d6658a5 Add core::panic::PanicInfo::payload() for compatibility.
ca0bfeb Document difference between core and std's PanicInfo.
702405e Split core's PanicInfo and std's PanicInfo.
483f641 Simplify `[T; N]::try_map` signature
8b6f468 Simplify provider api to improve llvm ir
c8170e6 Rollup merge of rust-lang#126212 - SteveLauC:fix/haiku, r=joboet
58bb5cf Rollup merge of rust-lang#126191 - ivan-shrimp:nonzero_doc, r=scottmcm
d2f8ddf Bump windows-bindgen to 0.57
02bf152 Clarify `Command::new` behavior if passed programs with arguments
e17d6b9 Remove some unused crate dependencies.
5840184 Update docs for AtomicU8/I8.
8791549 fix: build on haiku
263861f Update safety docs for AtomicBool::from_ptr.
e25ae61 docs(core): make more const_ptr doctests assert instead of printing
cf9de23 Auto merge of rust-lang#126205 - jieyouxu:rollup-s64z5ng, r=jieyouxu
c5da756 Rollup merge of rust-lang#126194 - ChrisDenton:winerror, r=Mark-Simulacrum
c4bd74c Rollup merge of rust-lang#125253 - sunsided:feature/FRAC_1_SQRT_PI, r=Mark-Simulacrum
c9c5d8f Auto merge of rust-lang#126193 - RalfJung:miri-sync, r=RalfJung
e39299d Migrate more things to WinError
0df0a38 fix `NonZero` doctest inconsistencies
818933d Rollup merge of rust-lang#126168 - devnexen:current_exe_haiku_simpl, r=ChrisDenton
a9bd569 Rollup merge of rust-lang#126146 - devnexen:signal_fbsd, r=ChrisDenton
05812a0 Merge from rustc
56bdaf3 std::unix::os current_exe implementation simplification for haiku.
e6c378f Auto merge of rust-lang#125966 - schvv31n:impl_os_string_pathbuf_leak, r=workingjubilee
e000ecb std::unix::process adding few specific freebsd signals to be able to id.
67454f5 Rollup merge of rust-lang#126138 - wbk:patch-1, r=lqd
ca932c8 Rollup merge of rust-lang#125998 - devnexen:get_mode_illumos, r=Nilstrieb
397e9cb Rollup merge of rust-lang#125951 - slanterns:error_in_core_stabilization, r=Amanieu
4655eca Fix typo in docs for std::pin
bb2e2d9 add HermitOS support of vectored read/write operations
dd7ccb7 Rollup merge of rust-lang#126089 - wutchzone:option_take_if, r=scottmcm
199da77 Rollup merge of rust-lang#126030 - ChrisDenton:update-wingen-readme, r=Mark-Simulacrum
8a4b11a Rollup merge of rust-lang#124012 - slanterns:as_slice_stabilize, r=BurntSushi
05a92c2 Auto merge of rust-lang#126110 - workingjubilee:backtrace-0.3.73, r=workingjubilee
cd73cbe Update backtrace to 0.3.73
c6e53ce Merge from rustc
3b60335 Rollup merge of rust-lang#125606 - diondokter:opt-size-int-fmt, r=cuviper
7014731 fix doc comments about `error_generic_member_access`
3f48168 Stabilize `error_in_core`
20f15f4 fixed memory leaks in PathBuf::leak & OsString::leak tests
fa66a61 Rollup merge of rust-lang#126096 - c410-f3r:tests-tests-tests, r=jhpratt
5736944 [RFC-2011] Allow `core_intrinsics` when activated
dfddd7e Stabilize Option::take_if
051c6c6 Raise `DEFAULT_MIN_STACK_SIZE` to at least 64KiB
29932f3 Auto merge of rust-lang#126038 - matthiaskrgr:rollup-h4rm3x2, r=matthiaskrgr
149a237 Promote `arm64ec-pc-windows-msvc` to tier 2
4a81c12 Rollup merge of rust-lang#126032 - ChrisDenton:update-docs, r=joboet
7450cf0 Rollup merge of rust-lang#125800 - fortanix:raoul/rte-99-fix_mut_static_task_queue, r=jethrogb
ed91d55 Rollup merge of rust-lang#125940 - devnexen:unix_fs_netbsd_get_path, r=cuviper
bf7430f Update description of the `IsTerminal` example
91c8b23 Update `./x fmt` command
1632165 Rollup merge of rust-lang#125995 - kpreid:const-uninit-stable, r=Nilstrieb
2c5f1ac Rollup merge of rust-lang#125982 - xTachyon:fix-linked-list, r=jhpratt
80cee25 Rollup merge of rust-lang#123168 - joshtriplett:size-of-prelude, r=Amanieu
28dc012 std::unix::fs::get_mode implementation for illumos/solaris.
14a6f29 Use inline const instead of unsafe to implement `MaybeUninit::uninit_array()`.
a2c3406 Use inline const instead of unsafe to construct arrays in `MaybeUninit` examples.
f8ee355 Rollup merge of rust-lang#125932 - schvv31n:patch-1, r=lqd
49dad46 Rollup merge of rust-lang#125927 - ferrocene:lw-alloc-unwind-test, r=pietroalbini
e38c13a Rollup merge of rust-lang#125696 - workingjubilee:please-dont-say-you-are-lazy, r=Nilstrieb
1764910 Rollup merge of rust-lang#106186 - rossmacarthur:ft/iter-chain, r=Amanieu
fbb5246 Make deleting on LinkedList aware of the allocator
85aa4b6 impl OsString::leak & PathBuf::leak
b19dd14 Add function `core::iter::chain`
25245bb Rollup merge of rust-lang#125919 - tbu-:pr_fix_typo, r=lqd
a415ddd Rollup merge of rust-lang#125504 - mqudsi:once_nominal, r=cuviper
ea7e91c Let compiler auto impl `Send` for `Task`
55f3d10 Store `Task::p` as `dyn FnOnce() + Send`
92b604f Pass function for `Thread` as `Send` to `Thread::imp`
175ad22 Auto merge of rust-lang#125525 - joboet:tls_accessor, r=cuviper
31e0022 std::unix::fs::get_path: using fcntl codepath for netbsd instead.
82e24ad Fix typo in the docs of `HashMap::raw_entry_mut`
fcc07af Ignore `vec_deque_alloc_error::test_shrink_to_unwind` test on non-unwind targets
6ef46b3 Auto merge of rust-lang#125912 - nnethercote:rustfmt-tests-mir-opt, r=oli-obk
7927138 Remove stray "this"
06d9b0e Add "OnceList" example to motivate OnceLock
6d001c5 Move first OnceLock example to LazyLock
7e47256 Differ LazyLock vs. OnceLock in std::sync overview
a198721 Explain LazyCell in core::cell overview
ae5598a Reformat `mir!` macro invocations to use braces.
494f05c Rollup merge of rust-lang#125898 - RalfJung:typo, r=Nilstrieb
7881d33 Rollup merge of rust-lang#125884 - Rua:integer_sign_cast, r=Mark-Simulacrum
380d9a3 Rollup merge of rust-lang#121062 - RustyYato:f32-midpoint, r=the8472
81b9e26 Wording of the documentation
1c707b6 typo: depending from -> on
fe5adb9 Auto merge of rust-lang#125577 - devnexen:netbsd_stack_min, r=joboet
876458e Implement feature `integer_sign_cast`
e929c7f Change f32::midpoint to upcast to f64
cd04000 Auto merge of rust-lang#124294 - tspiteri:ilog-first-iter, r=the8472
7f0b19d stablize `const_binary_heap_constructor` & create an unstable feature `const_binary_heap_new_in` for `BinaryHeap::new_in`
5c2e274 Rollup merge of rust-lang#125730 - mu001999-contrib:clippy-fix, r=oli-obk
9fe1803 Auto merge of rust-lang#124662 - zetanumbers:needs_async_drop, r=oli-obk
8943103 Avoid `mut` and simplify initialization of `TASK_QUEUE`
ba98164 Auto merge of rust-lang#124636 - tbu-:pr_env_unsafe, r=petrochenkov
bbaaa79 Rollup merge of rust-lang#125746 - jmillikin:duration-from-weeks-typo, r=lqd
1329a62 Rollup merge of rust-lang#125739 - RalfJung:drop-in-place-docs, r=workingjubilee
8883bcf Rollup merge of rust-lang#125342 - tbu-:pr_doc_write, r=ChrisDenton
14d5dcb explain what the open questions are, and add a Miri test for that
6f01ba7 Apply x clippy --fix and x fmt
c9c0713 Fix copy-paste error in `Duration::from_weeks` panic message.
e935223 Rollup merge of rust-lang#125733 - compiler-errors:async-fn-assoc-item, r=fmease
4feb881 Elaborate about modifying env vars in multi-threaded programs
2500719 Add note about safety of `std::env::set_var` on Windows
c4b1ff8 Make `std::env::{set_var, remove_var}` unsafe in edition 2024
07d3009 drop_in_place: weaken the claim of equivalence with drop(ptr.read())
99eabb4 Add lang item for AsyncFnKindHelper::Upvars
a8f468f Add lang item for Future::Output
2e1896e Add lang items for AsyncFn's associated types
d82378a [ACP 362] genericize `ptr::from_raw_parts`
619e33b Add FRAC_1_SQRT_2PI doc alias to FRAC_1_SQRT_TAU
1265244 make `ptr::rotate` smaller when using `optimize_for_size`
bb6d4eb Add safety comment to fix tidy
c8b699c Optimize async drop glue for some old types
0444ab8 Add FRAC_1_SQRT_2PI constant to f16/f32/f64/f128
1aaf0a9 Rollup merge of rust-lang#125226 - madsmtm:fix-mac-catalyst-tests, r=workingjubilee
565dce2 Rollup merge of rust-lang#124251 - scottmcm:unop-ptr-metadata, r=oli-obk
a4025eb Add custom mir support for `PtrMetadata`
87b9f24 Add an intrinsic for `ptr::metadata`
914d2c0 Rollup merge of rust-lang#125637 - nnethercote:rustfmt-fixes, r=GuillaumeGomez
3170156 Make more of the test suite run on Mac Catalyst
9753338 Disable stack overflow handler tests on iOS-like platforms
3548389 Don't format `tests/run-make/*/rmake.rs`.
6fcf130 Rollup merge of rust-lang#125647 - tspiteri:track-lazy_cell_consume, r=workingjubilee
385e1b8 Rollup merge of rust-lang#125551 - clarfonthey:ip-bits, r=jhpratt
457f5ee update tracking issue for lazy_cell_consume
893db81 Auto merge of rust-lang#125636 - workingjubilee:bump-backtrace-0.3.72, r=workingjubilee
6785858 Sync libstd deps with backtrace
b214872 Bump backtrace to 0.3.72
0ef7706 Auto merge of rust-lang#125609 - diondokter:opt-size-char-count, r=thomcc
3578f42 Rollup merge of rust-lang#124870 - Lokathor:update-result-docs, r=dtolnay
d4fb66b Always use the general case char count
1e8098b Size optimize int formatting
a74509c Rollup merge of rust-lang#125559 - scottmcm:simplify-shift-ubcheck, r=workingjubilee
bc346a0 Auto merge of rust-lang#122079 - tbu-:pr_copy_file_range_probe, r=the8472
fdcee4d std::pal::unix::thread fetching min stack size on netbsd.
d14171d Auto merge of rust-lang#125574 - matthiaskrgr:rollup-1oljoup, r=matthiaskrgr
3e545bc Rollup merge of rust-lang#125571 - tesuji:dummy-pi, r=Nilstrieb
8409442 Rollup merge of rust-lang#125561 - Cyborus04:stabilize-slice-flatten, r=scottmcm
8981ee4 Auto merge of rust-lang#125570 - tesuji:stdout-handle, r=Nilstrieb
addaaed f32: use constants instead of reassigning a dummy value as PI
8a6d10d use proper name instead of magic number
64671fa Stabilize `slice_flatten`
4014081 Auto merge of rust-lang#125070 - tbu-:pr_set_extension_panic, r=jhpratt
f54c557 Auto merge of rust-lang#125518 - saethlin:check-arguments-new-in-const, r=joboet
a4bac2b It seems that anchor names are implicitly all lowercase
7cddfd4 Simplify the `unchecked_sh[lr]` ub-checks a bit
805f56b Fix URL target, it's in the module not the type.
3b77f19 github showed that weird.
65726c0 correct for copy paste errors when fixing wrapping.
613145f Resolve rust-lang#124870 (comment)
9677b70 revert to the inconsistent paragraph wrapping.
bf3ca98 Rollup merge of rust-lang#124667 - newpavlov:stabilize_div_duration, r=jhpratt
4af28c4 Rollup merge of rust-lang#123803 - Sp00ph:shrink_to_fix, r=Mark-Simulacrum
79e1daf Rollup merge of rust-lang#122986 - taiki-e:aix-c-char, r=Mark-Simulacrum
0b13a6c Rollup merge of rust-lang#121377 - pitaj:lazy_cell_fn_pointer, r=dtolnay
b1ac7da Stabilise ip_bits feature
23bb5bc Auto merge of rust-lang#121571 - clarfonthey:unchecked-math-preconditions, r=saethlin
c11b36a Rollup merge of rust-lang#125527 - programmerjake:patch-2, r=workingjubilee
d6812d5 Rollup merge of rust-lang#125498 - zmodem:avx512er, r=workingjubilee
f52291b Rollup merge of rust-lang#125478 - Urgau:check-cfg-config-bump-stage0, r=Mark-Simulacrum
38dcab9 Rollup merge of rust-lang#125271 - RalfJung:posix_memalign, r=workingjubilee
29a1b3b Move the checks for Arguments constructors to inline const
5257f3f Add manual Sync impl for ReentrantLockGuard
078095a std: make TLS accessors closures that return pointers
567096d Rollup merge of rust-lang#125497 - meesfrensel:patch-1, r=calebzulawski
dd828cf Stop using the avx512er and avx512pf x86 target features
749b376 Change pedantically incorrect OnceCell/OnceLock wording
2b1602a Fix some SIMD intrinsics documentation
59b5617 Remove now outdated comment since we bumped stage0
6d1cdb5 Add assert_unsafe_precondition to unchecked_{add,sub,neg,mul,shl,shr} methods
8fa3f60 Document behavior of `create_dir_all` wrt. empty path
dd196e7 Document platform-specifics for `Read` and `Write` of `File`
a71d9d9 Fix c_char on AIX
ce3db1b fix typo
4913884 use posix_memalign on most Unix targets
86878b9 Fix linkchecker doc errors
1bf7a30 Turn bare links into automatic links
736b225 Move BufGuard impl outside of function
a44e7b3 Fix tidy errors
36af639 Replace sort implementations
48a835b Divide float nanoseconds instead of seconds
f84d57f Don't use `T` with both Result and Option, improve explanation.
88338ff Add `size_of`, `size_of_val`, `align_of`, and `align_of_val` to the prelude
5d56638 Panic if `PathBuf::set_extension` would add a path separator
7db52fc Add fn allocator method to rc/sync::Weak. Relax Rc<T>/Arc<T>::allocator to allow unsized T.
43bf016 Suggest borrowing on fn argument that is `impl AsRef`
50d5af4 use teletype on the attribute name
43ae187 Some Result combinations work like an Option.
d0c07aa Move `test_shrink_to_unwind` to its own file.
d77b1cc Fix `VecDeque::shrink_to` UB when `handle_alloc_error` unwinds.
0342284 Use `CURRENT_RUSTC_VERSION`
9eb77db Stabilize `div_duration`
7a6ddb3 Lift the probe code of `copy_file_range` into a function
f5305c1 Add missing .into_iter()
2a5af32 Extend the example code and assert the result
678e5a0 Add "safety" comment
ad38f9b unroll first iter of checked_ilog loop to save one multiplication
dbd03d4 Stabilize `BinaryHeap::as_slice`
08f761f DOC: Add FFI example for slice::from_raw_parts()
30c876c Be stricter with `copy_file_range` probe results
fe05246 Less syscalls for the `copy_file_range` probe
511fe47 Stabilize `LazyCell` and `LazyLock` (`lazy_cell`)

git-subtree-dir: library
git-subtree-split: 5e4edba
jaisnan added a commit to model-checking/verify-rust-std that referenced this pull request Jul 17, 2024
a2cf636 Rollup merge of rust-lang#127813 - ChrisDenton:win-futex, r=joboet
aeae332 Rollup merge of rust-lang#127763 - ChrisDenton:safe-unsafe-unsafe, r=tgross35
e0ea701 Prevent double reference in generic futex
417b61f Narrow the scope of the ReadFile unsafe block
b4d1392 forbid(unsafe_op_in_unsafe_fn) in sys/os_str
f431b51 Rollup merge of rust-lang#127836 - workingjubilee:forbid-unsafe-ops-in-xous-uefi, r=tgross35
0a024bd Rollup merge of rust-lang#127833 - risc0:erik/zkvm-deny-unsafe, r=workingjubilee
0299bb5 Rollup merge of rust-lang#127807 - ChrisDenton:win-parking, r=joboet
61af010 Rollup merge of rust-lang#127792 - workingjubilee:read-unaligned-is-dwarfier, r=joboet
d3cf2e1 Rollup merge of rust-lang#127444 - Sky9x:cstr-bytes-iter, r=dtolnay
12075d1 Rollup merge of rust-lang#126776 - nnethercote:rustfmt-use-pre-cleanups-2, r=cuviper
00d603f Rollup merge of rust-lang#126271 - diondokter:dec2flt-skip-fast-path, r=tgross35
8490c84 Rollup merge of rust-lang#125206 - mgeisler:simplify-std-env-vars, r=jhpratt,tgross35
a752e3b uefi: Forbid unwrapped unsafe in platform modules
32a1b07 Cfg nit
e189d3b xous: Forbid unwrapped unsafe in platform modules
7ddd7f8 zkvm: add `#[forbid(unsafe_op_in_unsafe_fn)]` in `stdlib`
0723962 Adjust some comments on individual `use` declarations.
4320ba0 Avoid comments that describe multiple `use` items.
1aeddb0 Merge some `core::iter` entries.
7a0b2fb Add unsafe blocks in unsafe Thread::new
8e76b15 Remove `slice_to_end`
e8527cd std: unwrapped unsafe is VERBOTEN!
5e4edba Rollup merge of rust-lang#127789 - Sword-Destiny:master, r=petrochenkov
1b631e5 Use futex.rs for Windows thread parking
d59f862 std: Use read_unaligned for reading DWARF
686f75b Rollup merge of rust-lang#127047 - tspiteri:f128-aconsts-lsd, r=tgross35
8b1d874 deny unsafe_op_in_unsafe_fn for teeos
f8bb325 clean unsafe op in unsafe fn
b597017 clean unsafe op in unsafe fn
9fd9c61 clean unsafe op in unsafe fn
e0c57e4 delete #![allow(unsafe_op_in_unsafe_fn)]
704f56f `impl Send + Sync` and override `count` for the `CStr::bytes` iterator
a778c83 Auto merge of rust-lang#127777 - matthiaskrgr:rollup-qp2vkan, r=matthiaskrgr
6535591 Rollup merge of rust-lang#124921 - RalfJung:offset-from-same-addr, r=oli-obk
ac443f2 Auto merge of rust-lang#127020 - tgross35:f16-f128-classify, r=workingjubilee
57937d7 allow(unsafe_op_in_unsafe_fn) on some functions
94b381d Some Windows functions are safe
f3bb34b Deny more windows unsafe_op_in_unsafe_fn
eae9451 Rollup merge of rust-lang#127750 - ChrisDenton:safe-unsafe-unsafe, r=workingjubilee
6257980 Rollup merge of rust-lang#127744 - workingjubilee:deny-unsafe-op-in-std, r=jhpratt
05614f3 Rollup merge of rust-lang#127712 - ChrisDenton:raw-types, r=workingjubilee
14c24b1 Mark some `f16` and `f128` functions unstably const
1b70afd Move safety comment outside unsafe block
3c286d5 Make os/windows default to deny unsafe in unsafe
d96ed86 Make pal/windows default to deny unsafe in unsafe
bb3f60f Fix Windows 7
9fc6710 Auto merge of rust-lang#127719 - devnexen:math_log_fix_solill, r=Amanieu
decdb06 Don't re-export `c_int` from `c`
a1a1c6a Remove DWORD
7d18991 Remove ULONG
d89bce6 Remove PSRWLOCK
d3205de Remove LPVOID
68ac381 Remove LPSECURITY_ATTRIBUTES
6d037b8 Remove LPOVERLAPPED
61f617d Remove LPCVOID
8a25371 Remove SIZE_T
cd51de1 Remove CHAR
00a5b3b Remove USHORT
d621d21 Remove LPWSTR
0b22ecb Remove UINT
18adcef Remove LONG
4eaaf7d Remove LARGE_INTEGER
aa45985 Remove NonZeroDWORD
d7aa7cf Auto merge of rust-lang#127732 - GrigorenkoPV:teeos-safe-sys-init, r=Amanieu
5ff7b40 std: Unsafe-wrap std::sync
e8fa3ef std: Unsafe-wrap in Wtf8 impl
8c3a9c1 std: Unsafe-wrap std::io
91b7331 std: Directly call unsafe {un,}setenv in env
8c75111 std: Unsafe-wrap OSStr{,ing}::from_encoded_bytes_unchecked
4679f9a std: Unsafe-wrap HashMap::get_many_unchecked_mut
ac0fd27 std: deny(unsafe_op_in_unsafe_fn) but allow sites
f710e38 Add `classify` and related methods for `f16` and `f128`
009660d std: removes logarithms family function edge cases handling for solaris.
3492a6b Auto merge of rust-lang#127728 - matthiaskrgr:rollup-ercdbjd, r=matthiaskrgr
0873299 sys::init is not unsafe on teeos
6c4029a Rollup merge of rust-lang#127592 - tesuji:patch-1, r=Mark-Simulacrum
7cd8086 Auto merge of rust-lang#125935 - madsmtm:merge-os-apple, r=workingjubilee
cfb0556 Merge Apple `std::os` extensions modules into `std::os::darwin`
54435f7 Rollup merge of rust-lang#127704 - workingjubilee:fixup-better-than, r=ChrisDenton
e122949 Auto merge of rust-lang#127706 - workingjubilee:rollup-d07ij30, r=workingjubilee
3033120 Rollup merge of rust-lang#127659 - saethlin:manually-drop-bufwriter, r=joboet
e9eb7de Rollup merge of rust-lang#127446 - zachs18:miri-stdlib-leaks-core-alloc, r=Mark-Simulacrum
3ad2560 Rollup merge of rust-lang#127370 - ChrisDenton:win-sys, r=Mark-Simulacrum
05bf6bc doc: Suggest `str::repeat` over `iter::repeat().take().collect()`
96e8ba7 Fix minor typos in std::process doc on Win argv
6b67c66 Auto merge of rust-lang#126958 - dtolnay:u32char, r=Mark-Simulacrum
591aaaf std::unix::fs: removing, now useless, layers predating macOs 10.10.
94ec6e7 Auto merge of rust-lang#127674 - jhpratt:rollup-0dxy3k7, r=jhpratt
a7c1f60 Rollup merge of rust-lang#127668 - spencer3035:improve-slice-doc, r=jhpratt
1e49e05 Rollup merge of rust-lang#127661 - eduardosm:stabilize-io_slice_advance, r=cuviper
c79e003 Auto merge of rust-lang#127397 - jyn514:multi-thread-panic-hook, r=workingjubilee
206678c Auto merge of rust-lang#126606 - zachs18:patch-2, r=joboet
1bb0350 Updated slice documentation
c8b79dd Use ManuallyDrop in BufWriter::into_parts
6e26e27 Stabilize io_slice_advance
cac6664 Rename the internal `const_strlen` to just `strlen`
39647ab fix interleaved panic output
0476fc4 Rollup merge of rust-lang#127433 - dtolnay:conststrlen, r=workingjubilee
f66bd5f Rollup merge of rust-lang#126827 - the8472:pidfd-spawn, r=workingjubilee
1e5cd21 Rollup merge of rust-lang#124980 - zachs18:rc-allocator, r=Amanieu
949f0d6 Add instability attribute on private const_strlen function
20bfac6 Rollup merge of rust-lang#127422 - greaka:master, r=workingjubilee
f937ef1 Rollup merge of rust-lang#127599 - tgross35:lazy_cell_consume-rename, r=workingjubilee
fde7fd2 Rollup merge of rust-lang#127588 - uweigand:s390x-f16-doctests, r=tgross35
ed47f98 Rollup merge of rust-lang#127572 - tbu-:pr_debug_event_nonpacked, r=jhpratt
e5c8b85 Rollup merge of rust-lang#124599 - estebank:issue-41708, r=wesleywiser
b71b538 Rename `lazy_cell_consume` to `lazy_cell_into_inner`
9efc1cb core: Limit remaining f16 doctests to x86_64 linux
a18fbd0 Rollup merge of rust-lang#127554 - ferrocene:tshepang-add-missing-attribute, r=pietroalbini
e419147 Don't mark `DEBUG_EVENT` struct as `repr(packed)`
4552576 Auto merge of rust-lang#126690 - andyolivares:feature/show_window, r=dtolnay
6f6e343 Rollup merge of rust-lang#127091 - Sky9x:fused-error-sources-iter, r=dtolnay
0d64105 Fixed doc links
4fb7b22 Few changes to doc comments. Added tracking issue number.
fe62f6f Exposing STARTUPINFOW.wShowWindow in CommandExt (show_window function) to control how a new process should display its window (normal, minimized, maximized, etc)
7d20047  do not run test where it cannot run
c5f1c76 Auto merge of rust-lang#127235 - martn3:no-mips-f16, r=tgross35,scottmcm
3fefa04 Rollup merge of rust-lang#127460 - Borgerr:clarify-drop-comment, r=jhpratt
895175a Rollup merge of rust-lang#127355 - aceArt-GmbH:126475, r=oli-obk
57cea32 Rollup merge of rust-lang#120248 - WaffleLapkin:bonk-ptr-object-casts, r=compiler-errors,oli-obk,lnicola
e74955e Attempt to fix CI
e466bf5 Rollup merge of rust-lang#127367 - ChrisDenton:run-sync, r=Nilstrieb
90504f8 Rollup merge of rust-lang#126921 - workingjubilee:outline-va-list, r=Nilstrieb
c6b3f3d Auto merge of rust-lang#127454 - matthiaskrgr:rollup-k3vfen2, r=matthiaskrgr
29d7923 Move/change declaration of `mod exit_guard;`
ecc9025 clarify `sys::unix::fd::FileDesc::drop` comment (rust-lang#66876)
35c5a45 Rollup merge of rust-lang#127447 - RalfJung:once_lock_miri, r=joboet
9f7100d Rollup merge of rust-lang#127354 - nicholasbishop:bishop-sized-doc, r=Nilstrieb
ee06e7d Rollup merge of rust-lang#127297 - the8472:path-new-hash, r=Nilstrieb
2206c6b Rollup merge of rust-lang#127189 - GrigorenkoPV:linkedlist-cursor-list, r=Nilstrieb
41bcc36 Rollup merge of rust-lang#127179 - tgross35:typeid-debug-hex, r=Nilstrieb
7177ac8 once_lock: make test not take as long in Miri
294d87f Remove non-focused memory leak in `std` doctest for Miri.
a86fd0f Specialize `TrustedLen` for `Iterator::unzip()`
5515bba Mitigate focused memory leaks in `core` doctests for Miri.
3a0fe26 Remove non-focused memory leaks in `core` doctests for Miri.
20d6cb3 Mitigate focused memory leaks in `alloc` doctests for Miri.
cac8902 Remove non-focused memory leaks in `alloc` doctests for Miri.
bcdc8e8 Stabilize const_cstr_from_ptr (CStr::from_ptr, CStr::count_bytes)
a48f566 offset_from intrinsic: always allow pointers to point to the same address
9919a83 Mark format! with must_use hint
0907955 as_simd: fix comment to be in line with 507583a (rust-lang#121201)
5569ece Rollup merge of rust-lang#127275 - RalfJung:offset-from-isize-min, r=Amanieu
2337ab5 Rollup merge of rust-lang#125751 - pitaj:new_range_api, r=jhpratt
ad4fde6 Rollup merge of rust-lang#127363 - GuillaumeGomez:improve-fmt-code-readability, r=Amanieu
3eeca5f Rollup merge of rust-lang#127107 - mu001999-contrib:dead/enhance-2, r=pnkfelix
1b5e5ac Rollup merge of rust-lang#123600 - tisonkun:path_with_extension, r=dtolnay
5e9d445 Attempt to fix CI
d8965d3 add `new_range_api` for RFC 3550
ca0f659 Move exit guard from sys::common::exit_guard to sys::exit_guard.
cf300a7 Update library/std/src/sys/pal/common/exit_guard.rs
ba4c71a add unit tests for extra extension feature
55fc20b update comments
6b7a259 Add experimental raw-dylib feature to std
c452e62 Use windows_targets macro for alloc
521c81a Run alloc sync tests
2fcdebb Improve readability of some fmt code examples
625bcc4 Rollup merge of rust-lang#127320 - ChrisDenton:win-sys, r=Mark-Simulacrum
f8caf5f Rollup merge of rust-lang#127214 - bjorn3:miri_native_unwind, r=oli-obk
1862054 Describe Sized requirements for mem::offset_of
e26c881 impl FusedIterator and a size hint for the error sources iter
8f1c664 core: erase redundant stability attrs in va_list
60c33a5 library: outline VaList into ffi::va_list
03d11c2 Auto merge of rust-lang#126171 - RalfJung:simd_bitmask_multibyte, r=workingjubilee
297850a Add more checks for pointers with vtable meta
f58a3d6 Improve dead code analysis
515bd30 Add comments to windows_targets.rs
89d2de0 Update windows-bindgen to 0.58.0
0860a04 also remove redundant requirements from offset()
6f80604 offset_from: "the difference must fit in an isize" is a corollary
de4f5c2 Rollup merge of rust-lang#127303 - cuishuang:master, r=jhpratt
56c73c3 Rollup merge of rust-lang#127195 - biabbas:vxworks_cleanup, r=jhpratt
5dfdef7 Rollup merge of rust-lang#126792 - wooden-worm:master, r=Mark-Simulacrum
4df2059 chore: remove repeat words
acbefbb impl PathBuf::add_extension and Path::with_added_extension
13d5a42 Auto merge of rust-lang#127226 - mat-1:optimize-siphash-round, r=nnethercote
ed3d487 stir the hash state a little to avoid prefix collisions
5ca124f Add more test cases for path comparisons
33bc557 Add test case demonstrating equality of paths "foo/bar" and "foobar"
079f999 Move unique_thread_exit call to lang_start_internal so it is not in a generic function, and wrap it in `catch_unwind`
47d0cbc Remove Miri special-case
596be7e Use pthread_t instead of numeric thread id
2e90f6f Use libc::pause instead of std::thread::park in wait-for-exit loop
1fd23e8 core: Limit four f16 doctests to x86_64 linux
e6f15c5 std: Set has_reliable_f16 to false for MIPS targets in build.rs
67535b6 library/std/build.rs: "powerpc64le" is not a target_arch
5b0d82f Rollup merge of rust-lang#127204 - dimpolo:stabilize_atomic_bool_fetch_not, r=jhpratt
b184a84 Rollup merge of rust-lang#123588 - tgross35:stabilize-assert_unchecked, r=dtolnay
2a81053 Fall back on remove dir implementation for vxworks
a8b6d0a Rollup merge of rust-lang#127230 - hattizai:patch01, r=saethlin
4d7cbb2 chore: remove duplicate words
645e9f2 Optimize SipHash by reordering compress instructions
c5ab1f0 Rollup merge of rust-lang#127128 - elomatreb:elomatreb/stabilize-duration_abs_diff, r=joboet
f090672 Rollup merge of rust-lang#126732 - StackOverflowExcept1on:master, r=m-ou-se
1dc4f05 Use the native unwind function in miri where possible
4fff335 Avoid MIR bloat in inlining
4385efd Stabilize atomic_bool_fetch_not
6c3359c Rollup merge of rust-lang#127182 - danielhuang:patch-4, r=Nilstrieb
a0a438a Remove unqualified import io:: Error for vxworks as all Error references are qualified in process_vxworks.rs
2a65e9f Auto merge of rust-lang#127026 - Urgau:cleanup-bootstrap-check-cfg, r=Kobzol
bba2200 LinkedList's Cursor: method to get a ref to the cursor's list
40a9be9 Update ip_addr.rs
986dbd1 Print `TypeId` as hex for debugging
f27723e Rollup merge of rust-lang#127069 - Sky9x:fmt-pointer-use-addr, r=Nilstrieb
b068fce Rollup merge of rust-lang#126895 - betelgeuse:improve_simd_gather_documentation, r=Amanieu
a6b22e9 Rollup merge of rust-lang#127134 - tgross35:typeid-debug, r=Nilstrieb
7f0bb45 Rollup merge of rust-lang#126906 - GrigorenkoPV:fixme-split_at_first, r=Mark-Simulacrum
b0feb54 Rollup merge of rust-lang#126705 - safinaskar:panic, r=Mark-Simulacrum
b8977f5 Auto merge of rust-lang#127133 - matthiaskrgr:rollup-jxkp3yf, r=matthiaskrgr
affa2f9 Print `TypeId` as a `u128` for `Debug`
05a472c Rollup merge of rust-lang#127122 - TDecking:div_ceil, r=Nilstrieb
9b3a511 Auto merge of rust-lang#120639 - fee1-dead-contrib:new-effects-desugaring, r=oli-obk
f96a321 Stabilize `duration_abs_diff`
bf9096f small correction to fmt::Pointer impl
171f5db Auto merge of rust-lang#127121 - GuillaumeGomez:rollup-xjjjckn, r=GuillaumeGomez
50a6646 Remove uneccessary condition in `div_ceil`
7914389 Updated docs on `#[panic_handler]` in `library/core/src/lib.rs`
1858bdc Rollup merge of rust-lang#127073 - Sky9x:unnecessary-seqcst, r=Nilstrieb
aaed209 Rollup merge of rust-lang#127072 - Sky9x:docs-includes-vs-does-include, r=scottmcm
e5a577d Auto merge of rust-lang#127119 - RalfJung:miri-sync, r=RalfJung
77a5b51 Rollup merge of rust-lang#126953 - joboet:lazy_key, r=jhpratt
8641f6a Merge from rustc
402992c Rollup merge of rust-lang#127071 - Sky9x:remove-ptr-to-from-bits, r=scottmcm
0a2d8e4 Rollup merge of rust-lang#127070 - Sky9x:unit-const-param-ty, r=BoxyUwU
663f3d5 Rollup merge of rust-lang#127055 - shepmaster:hash-finish-must-use, r=dtolnay
729a10a address review comments
db228b8 general fixups and turn `TODO`s into `FIXME`s
47492c9 Implement `Min` trait in new solver
cc4a029 implement new effects desugaring
d6fadf5 std: add safety comments
8c3c7dc Rollup merge of rust-lang#126970 - DaniPopes:simplify-str-clone_into, r=cuviper
ae98528 Rollup merge of rust-lang#126956 - joboet:fmt_no_extern_ty, r=RalfJung
652f0b8 Merge from rustc
48dc678 Remove unnecessary SeqCst in `impl fmt::Pointer for AtomicPtr`
e6e5e84 docs: say "includes" instead of "does include"
a722d39 Remove (deprecated & unstable) {to,from}_bits pointer methods
2ed9c9f add () to the marker_impls macro for ConstParamTy
fdfe014 Mark `Hasher::finish` as #[must_use]
2bd2069 fix least significant digits of f128 associated constants
8db57c2 core: improve comment
1f8c8f4 Cleanup bootstrap check-cfg
6c38c60 Rollup merge of rust-lang#126980 - Borgerr:fix-extendfromslice-check, r=workingjubilee
a2dc9b5 Rollup merge of rust-lang#126929 - nnethercote:rm-__rust_force_expr, r=oli-obk
cf231e8 Merge from rustc
a8b311e Auto merge of rust-lang#126608 - tgross35:f16-f128-library, r=Mark-Simulacrum
4788a93 std: test a variety of ways to extend a Wtf8Buf
57c2de8 set self.is_known_utf8 to false in extend_from_slice
c14a130 Rollup merge of rust-lang#126879 - the8472:next-chunk-filter-drop, r=cuviper
f6fdef3 core: avoid `extern` types in formatting infrastructure
43a865a fix UI test, simplify error message
ff33a66 regression test for leaks in the the Filter::next_chunk implementation
f90972a add comments explaining optimizations for Filter::next_chunk
4039a7f fix Drop items getting leaked in Filter::next_chunk
0351c53 Simplify `str::clone_into`
5aedb8a Rollup merge of rust-lang#126946 - cyrgani:patch-1, r=compiler-errors
5664da3 Rollup merge of rust-lang#126927 - workingjubilee:vaargsafe-is-unsafe, r=joboet
9273373 Rollup merge of rust-lang#126885 - Borgerr:rm_internal_pathbuf_asmutvec, r=workingjubilee
46074aa Rollup merge of rust-lang#126302 - mu001999-contrib:ignore/default, r=michaelwoerister
0fe5362 Stabilize const unchecked conversion from u32 to char
9dcaa15 std: separate TLS key creation from TLS access
5d08a54 Detect unused structs which derived Default
e6c45e4 `PathBuf::as_mut_vec` removed and verified for UEFI and Windows platforms rust-lang#126333
7cec6ef remove references to `PathBuf::as_mut_vec` in `PathBuf::_set_extension`
37f78f4 inner truncate methods for UEFI platforms
cfb8021 rust-lang#126333 remove `PathBuf::as_mut_vec` reference at top of `PathBuf::_push`
3edb521 simd_bitmask intrinsic: add a non-power-of-2 multi-byte example
2ddf794 Add missing slash in const_eval_select doc comment
19cfdb2 Add tests for `f16` and `f128`
561daff Add more `f16` and `f128` library functions and constants
6cb3d34 Add doctests to existing `f16` and `f128` functions
b0e0503 Add build.rs config for reliable `f16` and `f128`
028026b Remove `__rust_force_expr`.
1069a68 core: VaArgSafe is an unsafe trait
a451b2a Auto merge of rust-lang#126852 - scottmcm:more-checked-math-tweaks, r=Amanieu
17d03b9 Check that we get somewhat sane PIDs when spawning with pidfds
4c9a96e more fine-grained feature-detection for pidfd spawning
bf06e43 document safety properties of the internal Process::new constructor
9212236 use pidfd_spawn for faster process creation when pidfds are requested
4815f29 document the cvt methods
1bd207e Rollup merge of rust-lang#126904 - GrigorenkoPV:nonzero-fixme, r=joboet
2676918 Rollup merge of rust-lang#125575 - dingxiangfei2009:derive-smart-ptr, r=davidtwco
9dcffa5 Rollup merge of rust-lang#125082 - kpreid:const-uninit, r=dtolnay
cf34f71 Replace `MaybeUninit::uninit_array()` with array repeat expression.
e51d8a2 Auto merge of rust-lang#126523 - joboet:the_great_big_tls_refactor, r=Mark-Simulacrum
2b8c7a3 Small fixme in core now that split_first has no codegen issues
532304b Small fixme in core now that NonZero is generic
5ae0378 std: fix wasm builds
ae08c58 Rollup merge of rust-lang#126213 - zachs18:atomicbool-u8-i8-from-ptr-alignment, r=Nilstrieb
071e80d Fix simd_gather documentation
0c4a661 wasm64 build with target-feature=+simd128,+atomics
36a20f7 Reword docs for `f32` and `f64`
6839ec5 Extract repeated constants from `f32` and `f64` source
c26bd79 Rollup merge of rust-lang#126854 - devnexen:std_unix_os_fallback_upd, r=Mark-Simulacrum
828e528 Rollup merge of rust-lang#126807 - devnexen:copy_file_macos_simpl, r=Mark-Simulacrum
e4bc79d Also get `add nuw` from `uN::checked_add`
7c83a04 SmartPointer derive-macro
f0b95fc fix build
12ec5b7 Rollup merge of rust-lang#126783 - tguichaoua:fix_tcplistener_into_incoming_issue_number, r=workingjubilee
eb265d0 std::unix::os::home_dir: fallback's optimisation.
a48f3d6 Auto merge of rust-lang#126838 - matthiaskrgr:rollup-qkop22o, r=matthiaskrgr
ec8af4b Rollup merge of rust-lang#126552 - fee1-dead-contrib:rmfx, r=compiler-errors
6d6ba92 Rollup merge of rust-lang#126140 - eduardosm:stabilize-fs_try_exists, r=Amanieu
e1edea8 Auto merge of rust-lang#116113 - kpreid:arcmut, r=dtolnay
49d4fdb Generalize `{Rc,Arc}::make_mut()` to unsized types.
5ac719e Replace `WriteCloneIntoRaw` with `CloneToUninit`.
a4ca461 Add `core::clone::CloneToUninit`.
7836843 Auto merge of rust-lang#126750 - scottmcm:less-unlikely, r=jhpratt
934e728 Auto merge of rust-lang#124101 - the8472:pidfd-methods, r=cuviper
c2ec99b to extract a pidfd we must consume the child
f7cf777 Add PidFd::{kill, wait, try_wait}
d688595 std::unix::fs: copy simplification for apple.
bb602cf Auto merge of rust-lang#125853 - tesuji:promote-fail-fast, r=cjgillot
1f17936 update intrinsic const param counting
5e7ce0b Remove `feature(effects)` from the standard library
8902c17 Auto merge of rust-lang#126781 - matthiaskrgr:rollup-5u4pens, r=matthiaskrgr
54eaed7 fix issue number
2e01ae3 Rollup merge of rust-lang#126613 - tgross35:log-test-update, r=cuviper
306d7bf Stop using `unlikely` in `strict_*` methods
a8ab1ce [GVN] Add tests for generic pointees with PtrMetadata
a272844 Don't perform mitigation for thread-unsafe libc::exit under Miri.
5035a17 fix rustdoc URL
1530977 On `target_os = "linux"`, ensure that only one Rust thread calls `libc::exit` or returns from `main`.
7e940ba Auto merge of rust-lang#126578 - scottmcm:inlining-bonuses-too, r=davidtwco
9a945fd Auto merge of rust-lang#124032 - Voultapher:a-new-sort, r=thomcc
dbaf524 Rollup merge of rust-lang#126737 - fee1-dead-contrib:rm-const-closures, r=compiler-errors
0f6922d Fix wrong big O star bracing in the doc comments
7bf7f57 Remove `feature(const_closures)` from libcore
b4e2e4a Auto merge of rust-lang#126736 - matthiaskrgr:rollup-rb20oe3, r=matthiaskrgr
0829ab8 Rollup merge of rust-lang#126717 - nnethercote:rustfmt-use-pre-cleanups, r=jieyouxu
f1c9c80 Rollup merge of rust-lang#126711 - GKFX:const-option-as-slice, r=oli-obk
e057232 Auto merge of rust-lang#116088 - nbdd0121:unwind, r=Amanieu,RalfJung
13ea648 Stabilize `PanicInfo::message()` and `PanicMessage`
b6a3858 Rollup merge of rust-lang#126703 - the8472:on-blackbox-crypto-use, r=scottmcm
847726d Shrink some slice iterator MIR
1ba2fa4 Stabilize `hint_assert_unchecked`
9d0041c Update documentation for `hint::assert_unchecked`
e3e84a7 Add blank lines after module-level `//` comments.
36ad0db Add blank lines after module-level `//!` comments.
4e67110 Convert some module-level `//` and `///` comments to `//!`.
669d6fc Make Option::as_[mut_]slice const
4ae781c reword the hint::blackbox non-guarantees
dd7c901 core: add tracking issue for `array::repeat`
5ddeaca core: simplify implementation of `array::repeat`, address other nits
62f7a4e core: implement `UncheckedIterator` for `RepeatN`
387fd1f core: implement `array::repeat`
3fc18d0 Add a hack to prevent proc_macro misopt in CI
a95938d Stabilise c_unwind
2a5e5b8 Rollup merge of rust-lang#125787 - Oneirical:infinite-test-a-novel, r=jieyouxu
227994d try implementing suggestions
78867ab run_make_support nm implementation + bin-emit-no-symbols rmake rewrite
76e61bf Replace `move||` with `move ||` in `compiler/` and `library/`
13a31b6 Auto merge of rust-lang#126330 - m-ou-se:panic-message-type, r=Amanieu
42802a3 Print the tested value in int_log tests
ea1ab74 Add missing CopyMarker impl
384c205 Revert panic_safe test changes
ca458ba Add PanicMessage type for PanicInfo::message().
2238945 Add tracking issue to async_drop API
0b3227b std: rename module for clarity
2b9a4f3 std: update TLS module documentation
00d4964 std: use the `c_int` from `core::ffi` instead of `libc`
bd3b9ec std: simplify `#[cfg]`s for TLS
78eaad5 Fix unintended regression for Freeze + Copy types
8cd20cb Auto merge of rust-lang#126569 - jieyouxu:rollup-1uvkb2y, r=jieyouxu
c1acd7a Rollup merge of rust-lang#126531 - slanterns:error_provider, r=workingjubilee
cd1c998 Rollup merge of rust-lang#126468 - RalfJung:euclid, r=Mark-Simulacrum
2730879 Rollup merge of rust-lang#126346 - hermit-os:fd, r=Amanieu
ebbce69 Rollup merge of rust-lang#126288 - x4exr:patch-1, r=dtolnay
4aa43c7 Auto merge of rust-lang#125720 - folkertdev:optimize_for_size-ptr-rotate, r=Amanieu
7912329 doc: Added commas where needed
48e1578 Fix doc-link issue
489dfce Remove reliance on const_trait in sort implementations
89b5784 std: move `sys_common::backtrace` to `sys`
90dbe22 use rustc-dep-of-std in panic_unwind
6832ad3 Rollup merge of rust-lang#126539 - lukaslueg:patch-1, r=jhpratt
04e46c2 Rollup merge of rust-lang#125112 - tbu-:pr_create_dir_all_empty, r=dtolnay
e77b474 Update `Arc::try_unwrap()` docs
83c530f Apply review comments
ae7f43e Auto merge of rust-lang#126299 - scottmcm:tune-sliceindex-ubchecks, r=saethlin
339f266 Redo SliceIndex implementations
2388743 update comment
4cc1c37 Rollup merge of rust-lang#126229 - ChrisDenton:bindgen, r=Mark-Simulacrum
b40c54b std: refactor the TLS implementation
7e3c4f8 Auto merge of rust-lang#126518 - matthiaskrgr:rollup-wb70rzq, r=matthiaskrgr
2678593 std: suggest OnceLock over Once
b509ed2 Polish `std::path::absolute` documentation.
c3c1757 Auto merge of rust-lang#126473 - matthiaskrgr:rollup-8w2xm09, r=matthiaskrgr
a135342 Rollup merge of rust-lang#126285 - kpreid:unique-rc, r=dtolnay
7fafb6d Rollup merge of rust-lang#126266 - tbu-:pr_doc_alloc_default_system, r=jhpratt
afee9f5 Rollup merge of rust-lang#126135 - hermit-os:fuse, r=jhpratt
4a32b4b Rollup merge of rust-lang#123769 - dtolnay:literal, r=fee1-dead
3909d51 div_euclid, rem_euclid: clarify/extend documentation
ca52a2c Rollup merge of rust-lang#126351 - devnexen:to_sol11_upd, r=ChrisDenton
369fa55 Rollup merge of rust-lang#126402 - firefighterduck:fix-unsafe-precon-copy, r=Nilstrieb
2acb995 Rollup merge of rust-lang#126390 - Kriskras99:master, r=Nilstrieb
b3c1dcb Rollup merge of rust-lang#126360 - compiler-errors:uplift-structural-traits, r=lcnr
bdb9aa2 Rollup merge of rust-lang#123726 - jieyouxu:command-new-docs, r=Nilstrieb
307d1af Remove superfluous escaping from byte, byte str, and c str literals
78d94ee LangItem-ify Coroutine trait in solvers
891f00c fix wrong assert_unsafe_precondition message for core::ptr::copy
9adf702 Rollup merge of rust-lang#126384 - RalfJung:is_none_or, r=workingjubilee
02cb1e9 Rollup merge of rust-lang#126347 - slanterns:try_simplify, r=scottmcm
fa2a54a Fix wording in {checked_}next_power_of_two
3ef894f add tracking issue for is_none_or
a5fe19d std::unix::fs::link using direct linkat call for Solaris and macOs.
9921cd2 Rollup merge of rust-lang#126328 - RalfJung:is_none_or, r=workingjubilee
93583a6 Simplify `try_*` on `Iterator`
47090b1 export std::os::fd module on HermitOS
17c90d8 Auto merge of rust-lang#126273 - pietroalbini:pa-bootstrap-update, r=Mark-Simulacrum
b482e06 add is_none_or
027c82e Rollup merge of rust-lang#126322 - m-ou-se:panicinfo-and-panicinfo-2, r=RalfJung
db03ec6 Rollup merge of rust-lang#126242 - yaahc:simplify-provider, r=jhpratt
956efde Rollup merge of rust-lang#126039 - dpaoliello:arm64ecbuild, r=davidtwco
3acb41f Fix deprecated version.
bc5e618 Update doc comment on PanicInfo::message().
249d63e Use payload_as_str instead of two downcasts.
15677e9 Fix deprecation version.
a239d5b Clarify doc comment.
209f8c8 Auto merge of rust-lang#126319 - workingjubilee:rollup-lendnud, r=workingjubilee
6ec98e7 Rollup merge of rust-lang#126305 - workingjubilee:fix-os-string-to-string-utf8-invariant, r=joboet
80467da Rollup merge of rust-lang#126287 - nnethercote:reformat-cranelift-patch, r=bjorn3
5760a4e Rollup merge of rust-lang#126281 - ChrisDenton:env, r=jhpratt
439c2ae Rollup merge of rust-lang#126249 - workingjubilee:simplify-try-map-signature, r=scottmcm
23e3dbf Rollup merge of rust-lang#126210 - lolbinarycat:ptr_doctest_assert, r=workingjubilee
d469394 Rollup merge of rust-lang#123374 - mgeier:doc-slice-from-raw-parts, r=scottmcm
63fe960 Require any function with a tait in its signature to actually constrain a hidden type
e1d73c2 Revert "Rollup merge of rust-lang#125362 - joboet:tait_hack, r=Nilstrieb"
382ed52 Make PathBuf less Ok with adding UTF-16 then `into_string`
548e7a4 Update a cranelift patch file for formatting changes.
8ccbe9e `UniqueRc`: support allocators and `T: ?Sized`.
b3dcee6 set_env: State the conclusion upfront
f56c023 Rename `std::fs::try_exists` to  `std::fs::exists` and stabilize fs_try_exists
c16d8b1 Unify guarantees about the default allocator
d8fe589 remove cfg(bootstrap)
a2ff49b replace version placeholder
f72e4a9 Formatting.
0503ca7 Bump deprecation of std's PanicInfo alias to 1.82.0.
fea6b03 Add PanicHookInfo::payload_as_str().
0c8a9e0 Fix display of panic message in recursive panic.
2f85702 Mention core's PanicInfo in error.md.
ad0667f Add note on panic payload type.
518722e Downcast panic payload to String too in example.
c4dea81 Move deprecation of std::panic::PanicInfo to 1.80.0.
143e4c4 Fix deprecation version.
c6749ae Rename std::panic::PanicInfo to PanicHookInfo.
db2e055 Formatting.
51f20ac Fix invalid markdown/html.
d4b7304 Reorder body of begin_panic for consistency.
373fb60 Impl Display for PanicPayload to simplify things.
224d45c Use unnamed lifetimes for [..]Payload impl blocks.
cf984e0 Move downcasting panic payload to str to a function.
a18eeac Mark some PanicInfo methods as #[inline] for consistency.
47f359b Remove std::panic::PanicInfo::internal_constructor+set_payload.
701d6a2 Remove core::panic::PanicInfo::internal_constructor.
cca865d Update doc comment about core::panicking.
221a90c Fix doc link.
d6658a5 Add core::panic::PanicInfo::payload() for compatibility.
ca0bfeb Document difference between core and std's PanicInfo.
702405e Split core's PanicInfo and std's PanicInfo.
019e01f Skip fast path for dec2flt when optimize_for_size
483f641 Simplify `[T; N]::try_map` signature
8b6f468 Simplify provider api to improve llvm ir
c8170e6 Rollup merge of rust-lang#126212 - SteveLauC:fix/haiku, r=joboet
58bb5cf Rollup merge of rust-lang#126191 - ivan-shrimp:nonzero_doc, r=scottmcm
d2f8ddf Bump windows-bindgen to 0.57
02bf152 Clarify `Command::new` behavior if passed programs with arguments
e17d6b9 Remove some unused crate dependencies.
5840184 Update docs for AtomicU8/I8.
8791549 fix: build on haiku
263861f Update safety docs for AtomicBool::from_ptr.
e25ae61 docs(core): make more const_ptr doctests assert instead of printing
cf9de23 Auto merge of rust-lang#126205 - jieyouxu:rollup-s64z5ng, r=jieyouxu
c5da756 Rollup merge of rust-lang#126194 - ChrisDenton:winerror, r=Mark-Simulacrum
c4bd74c Rollup merge of rust-lang#125253 - sunsided:feature/FRAC_1_SQRT_PI, r=Mark-Simulacrum
c9c5d8f Auto merge of rust-lang#126193 - RalfJung:miri-sync, r=RalfJung
e39299d Migrate more things to WinError
0df0a38 fix `NonZero` doctest inconsistencies
818933d Rollup merge of rust-lang#126168 - devnexen:current_exe_haiku_simpl, r=ChrisDenton
a9bd569 Rollup merge of rust-lang#126146 - devnexen:signal_fbsd, r=ChrisDenton
05812a0 Merge from rustc
56bdaf3 std::unix::os current_exe implementation simplification for haiku.
e6c378f Auto merge of rust-lang#125966 - schvv31n:impl_os_string_pathbuf_leak, r=workingjubilee
e000ecb std::unix::process adding few specific freebsd signals to be able to id.
67454f5 Rollup merge of rust-lang#126138 - wbk:patch-1, r=lqd
ca932c8 Rollup merge of rust-lang#125998 - devnexen:get_mode_illumos, r=Nilstrieb
397e9cb Rollup merge of rust-lang#125951 - slanterns:error_in_core_stabilization, r=Amanieu
4655eca Fix typo in docs for std::pin
bb2e2d9 add HermitOS support of vectored read/write operations
dd7ccb7 Rollup merge of rust-lang#126089 - wutchzone:option_take_if, r=scottmcm
199da77 Rollup merge of rust-lang#126030 - ChrisDenton:update-wingen-readme, r=Mark-Simulacrum
8a4b11a Rollup merge of rust-lang#124012 - slanterns:as_slice_stabilize, r=BurntSushi
05a92c2 Auto merge of rust-lang#126110 - workingjubilee:backtrace-0.3.73, r=workingjubilee
cd73cbe Update backtrace to 0.3.73
c6e53ce Merge from rustc
3b60335 Rollup merge of rust-lang#125606 - diondokter:opt-size-int-fmt, r=cuviper
7014731 fix doc comments about `error_generic_member_access`
3f48168 Stabilize `error_in_core`
20f15f4 fixed memory leaks in PathBuf::leak & OsString::leak tests
fa66a61 Rollup merge of rust-lang#126096 - c410-f3r:tests-tests-tests, r=jhpratt
5736944 [RFC-2011] Allow `core_intrinsics` when activated
dfddd7e Stabilize Option::take_if
051c6c6 Raise `DEFAULT_MIN_STACK_SIZE` to at least 64KiB
29932f3 Auto merge of rust-lang#126038 - matthiaskrgr:rollup-h4rm3x2, r=matthiaskrgr
149a237 Promote `arm64ec-pc-windows-msvc` to tier 2
4a81c12 Rollup merge of rust-lang#126032 - ChrisDenton:update-docs, r=joboet
7450cf0 Rollup merge of rust-lang#125800 - fortanix:raoul/rte-99-fix_mut_static_task_queue, r=jethrogb
ed91d55 Rollup merge of rust-lang#125940 - devnexen:unix_fs_netbsd_get_path, r=cuviper
bf7430f Update description of the `IsTerminal` example
91c8b23 Update `./x fmt` command
1632165 Rollup merge of rust-lang#125995 - kpreid:const-uninit-stable, r=Nilstrieb
2c5f1ac Rollup merge of rust-lang#125982 - xTachyon:fix-linked-list, r=jhpratt
80cee25 Rollup merge of rust-lang#123168 - joshtriplett:size-of-prelude, r=Amanieu
28dc012 std::unix::fs::get_mode implementation for illumos/solaris.
14a6f29 Use inline const instead of unsafe to implement `MaybeUninit::uninit_array()`.
a2c3406 Use inline const instead of unsafe to construct arrays in `MaybeUninit` examples.
f8ee355 Rollup merge of rust-lang#125932 - schvv31n:patch-1, r=lqd
49dad46 Rollup merge of rust-lang#125927 - ferrocene:lw-alloc-unwind-test, r=pietroalbini
e38c13a Rollup merge of rust-lang#125696 - workingjubilee:please-dont-say-you-are-lazy, r=Nilstrieb
1764910 Rollup merge of rust-lang#106186 - rossmacarthur:ft/iter-chain, r=Amanieu
fbb5246 Make deleting on LinkedList aware of the allocator
85aa4b6 impl OsString::leak & PathBuf::leak
b19dd14 Add function `core::iter::chain`
25245bb Rollup merge of rust-lang#125919 - tbu-:pr_fix_typo, r=lqd
a415ddd Rollup merge of rust-lang#125504 - mqudsi:once_nominal, r=cuviper
ea7e91c Let compiler auto impl `Send` for `Task`
55f3d10 Store `Task::p` as `dyn FnOnce() + Send`
92b604f Pass function for `Thread` as `Send` to `Thread::imp`
175ad22 Auto merge of rust-lang#125525 - joboet:tls_accessor, r=cuviper
31e0022 std::unix::fs::get_path: using fcntl codepath for netbsd instead.
82e24ad Fix typo in the docs of `HashMap::raw_entry_mut`
fcc07af Ignore `vec_deque_alloc_error::test_shrink_to_unwind` test on non-unwind targets
6ef46b3 Auto merge of rust-lang#125912 - nnethercote:rustfmt-tests-mir-opt, r=oli-obk
7927138 Remove stray "this"
06d9b0e Add "OnceList" example to motivate OnceLock
6d001c5 Move first OnceLock example to LazyLock
7e47256 Differ LazyLock vs. OnceLock in std::sync overview
a198721 Explain LazyCell in core::cell overview
ae5598a Reformat `mir!` macro invocations to use braces.
494f05c Rollup merge of rust-lang#125898 - RalfJung:typo, r=Nilstrieb
7881d33 Rollup merge of rust-lang#125884 - Rua:integer_sign_cast, r=Mark-Simulacrum
380d9a3 Rollup merge of rust-lang#121062 - RustyYato:f32-midpoint, r=the8472
81b9e26 Wording of the documentation
1c707b6 typo: depending from -> on
fe5adb9 Auto merge of rust-lang#125577 - devnexen:netbsd_stack_min, r=joboet
876458e Implement feature `integer_sign_cast`
e929c7f Change f32::midpoint to upcast to f64
cd04000 Auto merge of rust-lang#124294 - tspiteri:ilog-first-iter, r=the8472
7f0b19d stablize `const_binary_heap_constructor` & create an unstable feature `const_binary_heap_new_in` for `BinaryHeap::new_in`
5c2e274 Rollup merge of rust-lang#125730 - mu001999-contrib:clippy-fix, r=oli-obk
9fe1803 Auto merge of rust-lang#124662 - zetanumbers:needs_async_drop, r=oli-obk
8943103 Avoid `mut` and simplify initialization of `TASK_QUEUE`
ba98164 Auto merge of rust-lang#124636 - tbu-:pr_env_unsafe, r=petrochenkov
bbaaa79 Rollup merge of rust-lang#125746 - jmillikin:duration-from-weeks-typo, r=lqd
1329a62 Rollup merge of rust-lang#125739 - RalfJung:drop-in-place-docs, r=workingjubilee
8883bcf Rollup merge of rust-lang#125342 - tbu-:pr_doc_write, r=ChrisDenton
14d5dcb explain what the open questions are, and add a Miri test for that
6f01ba7 Apply x clippy --fix and x fmt
c9c0713 Fix copy-paste error in `Duration::from_weeks` panic message.
e935223 Rollup merge of rust-lang#125733 - compiler-errors:async-fn-assoc-item, r=fmease
4feb881 Elaborate about modifying env vars in multi-threaded programs
2500719 Add note about safety of `std::env::set_var` on Windows
c4b1ff8 Make `std::env::{set_var, remove_var}` unsafe in edition 2024
07d3009 drop_in_place: weaken the claim of equivalence with drop(ptr.read())
99eabb4 Add lang item for AsyncFnKindHelper::Upvars
a8f468f Add lang item for Future::Output
2e1896e Add lang items for AsyncFn's associated types
d82378a [ACP 362] genericize `ptr::from_raw_parts`
619e33b Add FRAC_1_SQRT_2PI doc alias to FRAC_1_SQRT_TAU
1265244 make `ptr::rotate` smaller when using `optimize_for_size`
bb6d4eb Add safety comment to fix tidy
c8b699c Optimize async drop glue for some old types
0444ab8 Add FRAC_1_SQRT_2PI constant to f16/f32/f64/f128
1aaf0a9 Rollup merge of rust-lang#125226 - madsmtm:fix-mac-catalyst-tests, r=workingjubilee
565dce2 Rollup merge of rust-lang#124251 - scottmcm:unop-ptr-metadata, r=oli-obk
a4025eb Add custom mir support for `PtrMetadata`
87b9f24 Add an intrinsic for `ptr::metadata`
914d2c0 Rollup merge of rust-lang#125637 - nnethercote:rustfmt-fixes, r=GuillaumeGomez
3170156 Make more of the test suite run on Mac Catalyst
9753338 Disable stack overflow handler tests on iOS-like platforms
3548389 Don't format `tests/run-make/*/rmake.rs`.
6fcf130 Rollup merge of rust-lang#125647 - tspiteri:track-lazy_cell_consume, r=workingjubilee
385e1b8 Rollup merge of rust-lang#125551 - clarfonthey:ip-bits, r=jhpratt
457f5ee update tracking issue for lazy_cell_consume
893db81 Auto merge of rust-lang#125636 - workingjubilee:bump-backtrace-0.3.72, r=workingjubilee
6785858 Sync libstd deps with backtrace
b214872 Bump backtrace to 0.3.72
0ef7706 Auto merge of rust-lang#125609 - diondokter:opt-size-char-count, r=thomcc
3578f42 Rollup merge of rust-lang#124870 - Lokathor:update-result-docs, r=dtolnay
d4fb66b Always use the general case char count
1e8098b Size optimize int formatting
a74509c Rollup merge of rust-lang#125559 - scottmcm:simplify-shift-ubcheck, r=workingjubilee
bc346a0 Auto merge of rust-lang#122079 - tbu-:pr_copy_file_range_probe, r=the8472
fdcee4d std::pal::unix::thread fetching min stack size on netbsd.
d14171d Auto merge of rust-lang#125574 - matthiaskrgr:rollup-1oljoup, r=matthiaskrgr
3e545bc Rollup merge of rust-lang#125571 - tesuji:dummy-pi, r=Nilstrieb
8409442 Rollup merge of rust-lang#125561 - Cyborus04:stabilize-slice-flatten, r=scottmcm
8981ee4 Auto merge of rust-lang#125570 - tesuji:stdout-handle, r=Nilstrieb
addaaed f32: use constants instead of reassigning a dummy value as PI
8a6d10d use proper name instead of magic number
64671fa Stabilize `slice_flatten`
4014081 Auto merge of rust-lang#125070 - tbu-:pr_set_extension_panic, r=jhpratt
f54c557 Auto merge of rust-lang#125518 - saethlin:check-arguments-new-in-const, r=joboet
a4bac2b It seems that anchor names are implicitly all lowercase
7cddfd4 Simplify the `unchecked_sh[lr]` ub-checks a bit
805f56b Fix URL target, it's in the module not the type.
3b77f19 github showed that weird.
65726c0 correct for copy paste errors when fixing wrapping.
613145f Resolve rust-lang#124870 (comment)
9677b70 revert to the inconsistent paragraph wrapping.
bf3ca98 Rollup merge of rust-lang#124667 - newpavlov:stabilize_div_duration, r=jhpratt
4af28c4 Rollup merge of rust-lang#123803 - Sp00ph:shrink_to_fix, r=Mark-Simulacrum
79e1daf Rollup merge of rust-lang#122986 - taiki-e:aix-c-char, r=Mark-Simulacrum
0b13a6c Rollup merge of rust-lang#121377 - pitaj:lazy_cell_fn_pointer, r=dtolnay
b1ac7da Stabilise ip_bits feature
23bb5bc Auto merge of rust-lang#121571 - clarfonthey:unchecked-math-preconditions, r=saethlin
c11b36a Rollup merge of rust-lang#125527 - programmerjake:patch-2, r=workingjubilee
d6812d5 Rollup merge of rust-lang#125498 - zmodem:avx512er, r=workingjubilee
f52291b Rollup merge of rust-lang#125478 - Urgau:check-cfg-config-bump-stage0, r=Mark-Simulacrum
38dcab9 Rollup merge of rust-lang#125271 - RalfJung:posix_memalign, r=workingjubilee
29a1b3b Move the checks for Arguments constructors to inline const
5257f3f Add manual Sync impl for ReentrantLockGuard
078095a std: make TLS accessors closures that return pointers
567096d Rollup merge of rust-lang#125497 - meesfrensel:patch-1, r=calebzulawski
dd828cf Stop using the avx512er and avx512pf x86 target features
749b376 Change pedantically incorrect OnceCell/OnceLock wording
2b1602a Fix some SIMD intrinsics documentation
59b5617 Remove now outdated comment since we bumped stage0
6d1cdb5 Add assert_unsafe_precondition to unchecked_{add,sub,neg,mul,shl,shr} methods
ce29159 Simplify environment variable examples
8fa3f60 Document behavior of `create_dir_all` wrt. empty path
dd196e7 Document platform-specifics for `Read` and `Write` of `File`
a71d9d9 Fix c_char on AIX
ce3db1b fix typo
4913884 use posix_memalign on most Unix targets
86878b9 Fix linkchecker doc errors
1bf7a30 Turn bare links into automatic links
736b225 Move BufGuard impl outside of function
a44e7b3 Fix tidy errors
36af639 Replace sort implementations
48a835b Divide float nanoseconds instead of seconds
f84d57f Don't use `T` with both Result and Option, improve explanation.
88338ff Add `size_of`, `size_of_val`, `align_of`, and `align_of_val` to the prelude
5d56638 Panic if `PathBuf::set_extension` would add a path separator
7db52fc Add fn allocator method to rc/sync::Weak. Relax Rc<T>/Arc<T>::allocator to allow unsized T.
43bf016 Suggest borrowing on fn argument that is `impl AsRef`
50d5af4 use teletype on the attribute name
43ae187 Some Result combinations work like an Option.
d0c07aa Move `test_shrink_to_unwind` to its own file.
d77b1cc Fix `VecDeque::shrink_to` UB when `handle_alloc_error` unwinds.
0342284 Use `CURRENT_RUSTC_VERSION`
9eb77db Stabilize `div_duration`
7a6ddb3 Lift the probe code of `copy_file_range` into a function
f5305c1 Add missing .into_iter()
2a5af32 Extend the example code and assert the result
678e5a0 Add "safety" comment
ad38f9b unroll first iter of checked_ilog loop to save one multiplication
dbd03d4 Stabilize `BinaryHeap::as_slice`
08f761f DOC: Add FFI example for slice::from_raw_parts()
30c876c Be stricter with `copy_file_range` probe results
fe05246 Less syscalls for the `copy_file_range` probe
511fe47 Stabilize `LazyCell` and `LazyLock` (`lazy_cell`)

git-subtree-dir: library
git-subtree-split: a2cf636
jaisnan added a commit to jaisnan/rust-dev that referenced this pull request Jul 17, 2024
a2cf636 Rollup merge of rust-lang#127813 - ChrisDenton:win-futex, r=joboet
aeae332 Rollup merge of rust-lang#127763 - ChrisDenton:safe-unsafe-unsafe, r=tgross35
e0ea701 Prevent double reference in generic futex
417b61f Narrow the scope of the ReadFile unsafe block
b4d1392 forbid(unsafe_op_in_unsafe_fn) in sys/os_str
f431b51 Rollup merge of rust-lang#127836 - workingjubilee:forbid-unsafe-ops-in-xous-uefi, r=tgross35
0a024bd Rollup merge of rust-lang#127833 - risc0:erik/zkvm-deny-unsafe, r=workingjubilee
0299bb5 Rollup merge of rust-lang#127807 - ChrisDenton:win-parking, r=joboet
61af010 Rollup merge of rust-lang#127792 - workingjubilee:read-unaligned-is-dwarfier, r=joboet
d3cf2e1 Rollup merge of rust-lang#127444 - Sky9x:cstr-bytes-iter, r=dtolnay
12075d1 Rollup merge of rust-lang#126776 - nnethercote:rustfmt-use-pre-cleanups-2, r=cuviper
00d603f Rollup merge of rust-lang#126271 - diondokter:dec2flt-skip-fast-path, r=tgross35
8490c84 Rollup merge of rust-lang#125206 - mgeisler:simplify-std-env-vars, r=jhpratt,tgross35
a752e3b uefi: Forbid unwrapped unsafe in platform modules
32a1b07 Cfg nit
e189d3b xous: Forbid unwrapped unsafe in platform modules
7ddd7f8 zkvm: add `#[forbid(unsafe_op_in_unsafe_fn)]` in `stdlib`
0723962 Adjust some comments on individual `use` declarations.
4320ba0 Avoid comments that describe multiple `use` items.
1aeddb0 Merge some `core::iter` entries.
7a0b2fb Add unsafe blocks in unsafe Thread::new
8e76b15 Remove `slice_to_end`
e8527cd std: unwrapped unsafe is VERBOTEN!
5e4edba Rollup merge of rust-lang#127789 - Sword-Destiny:master, r=petrochenkov
1b631e5 Use futex.rs for Windows thread parking
d59f862 std: Use read_unaligned for reading DWARF
686f75b Rollup merge of rust-lang#127047 - tspiteri:f128-aconsts-lsd, r=tgross35
8b1d874 deny unsafe_op_in_unsafe_fn for teeos
f8bb325 clean unsafe op in unsafe fn
b597017 clean unsafe op in unsafe fn
9fd9c61 clean unsafe op in unsafe fn
e0c57e4 delete #![allow(unsafe_op_in_unsafe_fn)]
704f56f `impl Send + Sync` and override `count` for the `CStr::bytes` iterator
a778c83 Auto merge of rust-lang#127777 - matthiaskrgr:rollup-qp2vkan, r=matthiaskrgr
6535591 Rollup merge of rust-lang#124921 - RalfJung:offset-from-same-addr, r=oli-obk
ac443f2 Auto merge of rust-lang#127020 - tgross35:f16-f128-classify, r=workingjubilee
57937d7 allow(unsafe_op_in_unsafe_fn) on some functions
94b381d Some Windows functions are safe
f3bb34b Deny more windows unsafe_op_in_unsafe_fn
eae9451 Rollup merge of rust-lang#127750 - ChrisDenton:safe-unsafe-unsafe, r=workingjubilee
6257980 Rollup merge of rust-lang#127744 - workingjubilee:deny-unsafe-op-in-std, r=jhpratt
05614f3 Rollup merge of rust-lang#127712 - ChrisDenton:raw-types, r=workingjubilee
14c24b1 Mark some `f16` and `f128` functions unstably const
1b70afd Move safety comment outside unsafe block
3c286d5 Make os/windows default to deny unsafe in unsafe
d96ed86 Make pal/windows default to deny unsafe in unsafe
bb3f60f Fix Windows 7
9fc6710 Auto merge of rust-lang#127719 - devnexen:math_log_fix_solill, r=Amanieu
decdb06 Don't re-export `c_int` from `c`
a1a1c6a Remove DWORD
7d18991 Remove ULONG
d89bce6 Remove PSRWLOCK
d3205de Remove LPVOID
68ac381 Remove LPSECURITY_ATTRIBUTES
6d037b8 Remove LPOVERLAPPED
61f617d Remove LPCVOID
8a25371 Remove SIZE_T
cd51de1 Remove CHAR
00a5b3b Remove USHORT
d621d21 Remove LPWSTR
0b22ecb Remove UINT
18adcef Remove LONG
4eaaf7d Remove LARGE_INTEGER
aa45985 Remove NonZeroDWORD
d7aa7cf Auto merge of rust-lang#127732 - GrigorenkoPV:teeos-safe-sys-init, r=Amanieu
5ff7b40 std: Unsafe-wrap std::sync
e8fa3ef std: Unsafe-wrap in Wtf8 impl
8c3a9c1 std: Unsafe-wrap std::io
91b7331 std: Directly call unsafe {un,}setenv in env
8c75111 std: Unsafe-wrap OSStr{,ing}::from_encoded_bytes_unchecked
4679f9a std: Unsafe-wrap HashMap::get_many_unchecked_mut
ac0fd27 std: deny(unsafe_op_in_unsafe_fn) but allow sites
f710e38 Add `classify` and related methods for `f16` and `f128`
009660d std: removes logarithms family function edge cases handling for solaris.
3492a6b Auto merge of rust-lang#127728 - matthiaskrgr:rollup-ercdbjd, r=matthiaskrgr
0873299 sys::init is not unsafe on teeos
6c4029a Rollup merge of rust-lang#127592 - tesuji:patch-1, r=Mark-Simulacrum
7cd8086 Auto merge of rust-lang#125935 - madsmtm:merge-os-apple, r=workingjubilee
cfb0556 Merge Apple `std::os` extensions modules into `std::os::darwin`
54435f7 Rollup merge of rust-lang#127704 - workingjubilee:fixup-better-than, r=ChrisDenton
e122949 Auto merge of rust-lang#127706 - workingjubilee:rollup-d07ij30, r=workingjubilee
3033120 Rollup merge of rust-lang#127659 - saethlin:manually-drop-bufwriter, r=joboet
e9eb7de Rollup merge of rust-lang#127446 - zachs18:miri-stdlib-leaks-core-alloc, r=Mark-Simulacrum
3ad2560 Rollup merge of rust-lang#127370 - ChrisDenton:win-sys, r=Mark-Simulacrum
05bf6bc doc: Suggest `str::repeat` over `iter::repeat().take().collect()`
96e8ba7 Fix minor typos in std::process doc on Win argv
6b67c66 Auto merge of rust-lang#126958 - dtolnay:u32char, r=Mark-Simulacrum
591aaaf std::unix::fs: removing, now useless, layers predating macOs 10.10.
94ec6e7 Auto merge of rust-lang#127674 - jhpratt:rollup-0dxy3k7, r=jhpratt
a7c1f60 Rollup merge of rust-lang#127668 - spencer3035:improve-slice-doc, r=jhpratt
1e49e05 Rollup merge of rust-lang#127661 - eduardosm:stabilize-io_slice_advance, r=cuviper
c79e003 Auto merge of rust-lang#127397 - jyn514:multi-thread-panic-hook, r=workingjubilee
206678c Auto merge of rust-lang#126606 - zachs18:patch-2, r=joboet
1bb0350 Updated slice documentation
c8b79dd Use ManuallyDrop in BufWriter::into_parts
6e26e27 Stabilize io_slice_advance
cac6664 Rename the internal `const_strlen` to just `strlen`
39647ab fix interleaved panic output
0476fc4 Rollup merge of rust-lang#127433 - dtolnay:conststrlen, r=workingjubilee
f66bd5f Rollup merge of rust-lang#126827 - the8472:pidfd-spawn, r=workingjubilee
1e5cd21 Rollup merge of rust-lang#124980 - zachs18:rc-allocator, r=Amanieu
949f0d6 Add instability attribute on private const_strlen function
20bfac6 Rollup merge of rust-lang#127422 - greaka:master, r=workingjubilee
f937ef1 Rollup merge of rust-lang#127599 - tgross35:lazy_cell_consume-rename, r=workingjubilee
fde7fd2 Rollup merge of rust-lang#127588 - uweigand:s390x-f16-doctests, r=tgross35
ed47f98 Rollup merge of rust-lang#127572 - tbu-:pr_debug_event_nonpacked, r=jhpratt
e5c8b85 Rollup merge of rust-lang#124599 - estebank:issue-41708, r=wesleywiser
b71b538 Rename `lazy_cell_consume` to `lazy_cell_into_inner`
9efc1cb core: Limit remaining f16 doctests to x86_64 linux
a18fbd0 Rollup merge of rust-lang#127554 - ferrocene:tshepang-add-missing-attribute, r=pietroalbini
e419147 Don't mark `DEBUG_EVENT` struct as `repr(packed)`
4552576 Auto merge of rust-lang#126690 - andyolivares:feature/show_window, r=dtolnay
6f6e343 Rollup merge of rust-lang#127091 - Sky9x:fused-error-sources-iter, r=dtolnay
0d64105 Fixed doc links
4fb7b22 Few changes to doc comments. Added tracking issue number.
fe62f6f Exposing STARTUPINFOW.wShowWindow in CommandExt (show_window function) to control how a new process should display its window (normal, minimized, maximized, etc)
7d20047  do not run test where it cannot run
c5f1c76 Auto merge of rust-lang#127235 - martn3:no-mips-f16, r=tgross35,scottmcm
3fefa04 Rollup merge of rust-lang#127460 - Borgerr:clarify-drop-comment, r=jhpratt
895175a Rollup merge of rust-lang#127355 - aceArt-GmbH:126475, r=oli-obk
57cea32 Rollup merge of rust-lang#120248 - WaffleLapkin:bonk-ptr-object-casts, r=compiler-errors,oli-obk,lnicola
e74955e Attempt to fix CI
e466bf5 Rollup merge of rust-lang#127367 - ChrisDenton:run-sync, r=Nilstrieb
90504f8 Rollup merge of rust-lang#126921 - workingjubilee:outline-va-list, r=Nilstrieb
c6b3f3d Auto merge of rust-lang#127454 - matthiaskrgr:rollup-k3vfen2, r=matthiaskrgr
29d7923 Move/change declaration of `mod exit_guard;`
ecc9025 clarify `sys::unix::fd::FileDesc::drop` comment (rust-lang#66876)
35c5a45 Rollup merge of rust-lang#127447 - RalfJung:once_lock_miri, r=joboet
9f7100d Rollup merge of rust-lang#127354 - nicholasbishop:bishop-sized-doc, r=Nilstrieb
ee06e7d Rollup merge of rust-lang#127297 - the8472:path-new-hash, r=Nilstrieb
2206c6b Rollup merge of rust-lang#127189 - GrigorenkoPV:linkedlist-cursor-list, r=Nilstrieb
41bcc36 Rollup merge of rust-lang#127179 - tgross35:typeid-debug-hex, r=Nilstrieb
7177ac8 once_lock: make test not take as long in Miri
294d87f Remove non-focused memory leak in `std` doctest for Miri.
a86fd0f Specialize `TrustedLen` for `Iterator::unzip()`
5515bba Mitigate focused memory leaks in `core` doctests for Miri.
3a0fe26 Remove non-focused memory leaks in `core` doctests for Miri.
20d6cb3 Mitigate focused memory leaks in `alloc` doctests for Miri.
cac8902 Remove non-focused memory leaks in `alloc` doctests for Miri.
bcdc8e8 Stabilize const_cstr_from_ptr (CStr::from_ptr, CStr::count_bytes)
a48f566 offset_from intrinsic: always allow pointers to point to the same address
9919a83 Mark format! with must_use hint
0907955 as_simd: fix comment to be in line with 507583a (rust-lang#121201)
5569ece Rollup merge of rust-lang#127275 - RalfJung:offset-from-isize-min, r=Amanieu
2337ab5 Rollup merge of rust-lang#125751 - pitaj:new_range_api, r=jhpratt
ad4fde6 Rollup merge of rust-lang#127363 - GuillaumeGomez:improve-fmt-code-readability, r=Amanieu
3eeca5f Rollup merge of rust-lang#127107 - mu001999-contrib:dead/enhance-2, r=pnkfelix
1b5e5ac Rollup merge of rust-lang#123600 - tisonkun:path_with_extension, r=dtolnay
5e9d445 Attempt to fix CI
d8965d3 add `new_range_api` for RFC 3550
ca0f659 Move exit guard from sys::common::exit_guard to sys::exit_guard.
cf300a7 Update library/std/src/sys/pal/common/exit_guard.rs
ba4c71a add unit tests for extra extension feature
55fc20b update comments
6b7a259 Add experimental raw-dylib feature to std
c452e62 Use windows_targets macro for alloc
521c81a Run alloc sync tests
2fcdebb Improve readability of some fmt code examples
625bcc4 Rollup merge of rust-lang#127320 - ChrisDenton:win-sys, r=Mark-Simulacrum
f8caf5f Rollup merge of rust-lang#127214 - bjorn3:miri_native_unwind, r=oli-obk
1862054 Describe Sized requirements for mem::offset_of
e26c881 impl FusedIterator and a size hint for the error sources iter
8f1c664 core: erase redundant stability attrs in va_list
60c33a5 library: outline VaList into ffi::va_list
03d11c2 Auto merge of rust-lang#126171 - RalfJung:simd_bitmask_multibyte, r=workingjubilee
297850a Add more checks for pointers with vtable meta
f58a3d6 Improve dead code analysis
515bd30 Add comments to windows_targets.rs
89d2de0 Update windows-bindgen to 0.58.0
0860a04 also remove redundant requirements from offset()
6f80604 offset_from: "the difference must fit in an isize" is a corollary
de4f5c2 Rollup merge of rust-lang#127303 - cuishuang:master, r=jhpratt
56c73c3 Rollup merge of rust-lang#127195 - biabbas:vxworks_cleanup, r=jhpratt
5dfdef7 Rollup merge of rust-lang#126792 - wooden-worm:master, r=Mark-Simulacrum
4df2059 chore: remove repeat words
acbefbb impl PathBuf::add_extension and Path::with_added_extension
13d5a42 Auto merge of rust-lang#127226 - mat-1:optimize-siphash-round, r=nnethercote
ed3d487 stir the hash state a little to avoid prefix collisions
5ca124f Add more test cases for path comparisons
33bc557 Add test case demonstrating equality of paths "foo/bar" and "foobar"
079f999 Move unique_thread_exit call to lang_start_internal so it is not in a generic function, and wrap it in `catch_unwind`
47d0cbc Remove Miri special-case
596be7e Use pthread_t instead of numeric thread id
2e90f6f Use libc::pause instead of std::thread::park in wait-for-exit loop
1fd23e8 core: Limit four f16 doctests to x86_64 linux
e6f15c5 std: Set has_reliable_f16 to false for MIPS targets in build.rs
67535b6 library/std/build.rs: "powerpc64le" is not a target_arch
5b0d82f Rollup merge of rust-lang#127204 - dimpolo:stabilize_atomic_bool_fetch_not, r=jhpratt
b184a84 Rollup merge of rust-lang#123588 - tgross35:stabilize-assert_unchecked, r=dtolnay
2a81053 Fall back on remove dir implementation for vxworks
a8b6d0a Rollup merge of rust-lang#127230 - hattizai:patch01, r=saethlin
4d7cbb2 chore: remove duplicate words
645e9f2 Optimize SipHash by reordering compress instructions
c5ab1f0 Rollup merge of rust-lang#127128 - elomatreb:elomatreb/stabilize-duration_abs_diff, r=joboet
f090672 Rollup merge of rust-lang#126732 - StackOverflowExcept1on:master, r=m-ou-se
1dc4f05 Use the native unwind function in miri where possible
4fff335 Avoid MIR bloat in inlining
4385efd Stabilize atomic_bool_fetch_not
6c3359c Rollup merge of rust-lang#127182 - danielhuang:patch-4, r=Nilstrieb
a0a438a Remove unqualified import io:: Error for vxworks as all Error references are qualified in process_vxworks.rs
2a65e9f Auto merge of rust-lang#127026 - Urgau:cleanup-bootstrap-check-cfg, r=Kobzol
bba2200 LinkedList's Cursor: method to get a ref to the cursor's list
40a9be9 Update ip_addr.rs
986dbd1 Print `TypeId` as hex for debugging
f27723e Rollup merge of rust-lang#127069 - Sky9x:fmt-pointer-use-addr, r=Nilstrieb
b068fce Rollup merge of rust-lang#126895 - betelgeuse:improve_simd_gather_documentation, r=Amanieu
a6b22e9 Rollup merge of rust-lang#127134 - tgross35:typeid-debug, r=Nilstrieb
7f0bb45 Rollup merge of rust-lang#126906 - GrigorenkoPV:fixme-split_at_first, r=Mark-Simulacrum
b0feb54 Rollup merge of rust-lang#126705 - safinaskar:panic, r=Mark-Simulacrum
b8977f5 Auto merge of rust-lang#127133 - matthiaskrgr:rollup-jxkp3yf, r=matthiaskrgr
affa2f9 Print `TypeId` as a `u128` for `Debug`
05a472c Rollup merge of rust-lang#127122 - TDecking:div_ceil, r=Nilstrieb
9b3a511 Auto merge of rust-lang#120639 - fee1-dead-contrib:new-effects-desugaring, r=oli-obk
f96a321 Stabilize `duration_abs_diff`
bf9096f small correction to fmt::Pointer impl
171f5db Auto merge of rust-lang#127121 - GuillaumeGomez:rollup-xjjjckn, r=GuillaumeGomez
50a6646 Remove uneccessary condition in `div_ceil`
7914389 Updated docs on `#[panic_handler]` in `library/core/src/lib.rs`
1858bdc Rollup merge of rust-lang#127073 - Sky9x:unnecessary-seqcst, r=Nilstrieb
aaed209 Rollup merge of rust-lang#127072 - Sky9x:docs-includes-vs-does-include, r=scottmcm
e5a577d Auto merge of rust-lang#127119 - RalfJung:miri-sync, r=RalfJung
77a5b51 Rollup merge of rust-lang#126953 - joboet:lazy_key, r=jhpratt
8641f6a Merge from rustc
402992c Rollup merge of rust-lang#127071 - Sky9x:remove-ptr-to-from-bits, r=scottmcm
0a2d8e4 Rollup merge of rust-lang#127070 - Sky9x:unit-const-param-ty, r=BoxyUwU
663f3d5 Rollup merge of rust-lang#127055 - shepmaster:hash-finish-must-use, r=dtolnay
729a10a address review comments
db228b8 general fixups and turn `TODO`s into `FIXME`s
47492c9 Implement `Min` trait in new solver
cc4a029 implement new effects desugaring
d6fadf5 std: add safety comments
8c3c7dc Rollup merge of rust-lang#126970 - DaniPopes:simplify-str-clone_into, r=cuviper
ae98528 Rollup merge of rust-lang#126956 - joboet:fmt_no_extern_ty, r=RalfJung
652f0b8 Merge from rustc
48dc678 Remove unnecessary SeqCst in `impl fmt::Pointer for AtomicPtr`
e6e5e84 docs: say "includes" instead of "does include"
a722d39 Remove (deprecated & unstable) {to,from}_bits pointer methods
2ed9c9f add () to the marker_impls macro for ConstParamTy
fdfe014 Mark `Hasher::finish` as #[must_use]
2bd2069 fix least significant digits of f128 associated constants
8db57c2 core: improve comment
1f8c8f4 Cleanup bootstrap check-cfg
6c38c60 Rollup merge of rust-lang#126980 - Borgerr:fix-extendfromslice-check, r=workingjubilee
a2dc9b5 Rollup merge of rust-lang#126929 - nnethercote:rm-__rust_force_expr, r=oli-obk
cf231e8 Merge from rustc
a8b311e Auto merge of rust-lang#126608 - tgross35:f16-f128-library, r=Mark-Simulacrum
4788a93 std: test a variety of ways to extend a Wtf8Buf
57c2de8 set self.is_known_utf8 to false in extend_from_slice
c14a130 Rollup merge of rust-lang#126879 - the8472:next-chunk-filter-drop, r=cuviper
f6fdef3 core: avoid `extern` types in formatting infrastructure
43a865a fix UI test, simplify error message
ff33a66 regression test for leaks in the the Filter::next_chunk implementation
f90972a add comments explaining optimizations for Filter::next_chunk
4039a7f fix Drop items getting leaked in Filter::next_chunk
0351c53 Simplify `str::clone_into`
5aedb8a Rollup merge of rust-lang#126946 - cyrgani:patch-1, r=compiler-errors
5664da3 Rollup merge of rust-lang#126927 - workingjubilee:vaargsafe-is-unsafe, r=joboet
9273373 Rollup merge of rust-lang#126885 - Borgerr:rm_internal_pathbuf_asmutvec, r=workingjubilee
46074aa Rollup merge of rust-lang#126302 - mu001999-contrib:ignore/default, r=michaelwoerister
0fe5362 Stabilize const unchecked conversion from u32 to char
9dcaa15 std: separate TLS key creation from TLS access
5d08a54 Detect unused structs which derived Default
e6c45e4 `PathBuf::as_mut_vec` removed and verified for UEFI and Windows platforms rust-lang#126333
7cec6ef remove references to `PathBuf::as_mut_vec` in `PathBuf::_set_extension`
37f78f4 inner truncate methods for UEFI platforms
cfb8021 rust-lang#126333 remove `PathBuf::as_mut_vec` reference at top of `PathBuf::_push`
3edb521 simd_bitmask intrinsic: add a non-power-of-2 multi-byte example
2ddf794 Add missing slash in const_eval_select doc comment
19cfdb2 Add tests for `f16` and `f128`
561daff Add more `f16` and `f128` library functions and constants
6cb3d34 Add doctests to existing `f16` and `f128` functions
b0e0503 Add build.rs config for reliable `f16` and `f128`
028026b Remove `__rust_force_expr`.
1069a68 core: VaArgSafe is an unsafe trait
a451b2a Auto merge of rust-lang#126852 - scottmcm:more-checked-math-tweaks, r=Amanieu
17d03b9 Check that we get somewhat sane PIDs when spawning with pidfds
4c9a96e more fine-grained feature-detection for pidfd spawning
bf06e43 document safety properties of the internal Process::new constructor
9212236 use pidfd_spawn for faster process creation when pidfds are requested
4815f29 document the cvt methods
1bd207e Rollup merge of rust-lang#126904 - GrigorenkoPV:nonzero-fixme, r=joboet
2676918 Rollup merge of rust-lang#125575 - dingxiangfei2009:derive-smart-ptr, r=davidtwco
9dcffa5 Rollup merge of rust-lang#125082 - kpreid:const-uninit, r=dtolnay
cf34f71 Replace `MaybeUninit::uninit_array()` with array repeat expression.
e51d8a2 Auto merge of rust-lang#126523 - joboet:the_great_big_tls_refactor, r=Mark-Simulacrum
2b8c7a3 Small fixme in core now that split_first has no codegen issues
532304b Small fixme in core now that NonZero is generic
5ae0378 std: fix wasm builds
ae08c58 Rollup merge of rust-lang#126213 - zachs18:atomicbool-u8-i8-from-ptr-alignment, r=Nilstrieb
071e80d Fix simd_gather documentation
0c4a661 wasm64 build with target-feature=+simd128,+atomics
36a20f7 Reword docs for `f32` and `f64`
6839ec5 Extract repeated constants from `f32` and `f64` source
c26bd79 Rollup merge of rust-lang#126854 - devnexen:std_unix_os_fallback_upd, r=Mark-Simulacrum
828e528 Rollup merge of rust-lang#126807 - devnexen:copy_file_macos_simpl, r=Mark-Simulacrum
e4bc79d Also get `add nuw` from `uN::checked_add`
7c83a04 SmartPointer derive-macro
f0b95fc fix build
12ec5b7 Rollup merge of rust-lang#126783 - tguichaoua:fix_tcplistener_into_incoming_issue_number, r=workingjubilee
eb265d0 std::unix::os::home_dir: fallback's optimisation.
a48f3d6 Auto merge of rust-lang#126838 - matthiaskrgr:rollup-qkop22o, r=matthiaskrgr
ec8af4b Rollup merge of rust-lang#126552 - fee1-dead-contrib:rmfx, r=compiler-errors
6d6ba92 Rollup merge of rust-lang#126140 - eduardosm:stabilize-fs_try_exists, r=Amanieu
e1edea8 Auto merge of rust-lang#116113 - kpreid:arcmut, r=dtolnay
49d4fdb Generalize `{Rc,Arc}::make_mut()` to unsized types.
5ac719e Replace `WriteCloneIntoRaw` with `CloneToUninit`.
a4ca461 Add `core::clone::CloneToUninit`.
7836843 Auto merge of rust-lang#126750 - scottmcm:less-unlikely, r=jhpratt
934e728 Auto merge of rust-lang#124101 - the8472:pidfd-methods, r=cuviper
c2ec99b to extract a pidfd we must consume the child
f7cf777 Add PidFd::{kill, wait, try_wait}
d688595 std::unix::fs: copy simplification for apple.
bb602cf Auto merge of rust-lang#125853 - tesuji:promote-fail-fast, r=cjgillot
1f17936 update intrinsic const param counting
5e7ce0b Remove `feature(effects)` from the standard library
8902c17 Auto merge of rust-lang#126781 - matthiaskrgr:rollup-5u4pens, r=matthiaskrgr
54eaed7 fix issue number
2e01ae3 Rollup merge of rust-lang#126613 - tgross35:log-test-update, r=cuviper
306d7bf Stop using `unlikely` in `strict_*` methods
a8ab1ce [GVN] Add tests for generic pointees with PtrMetadata
a272844 Don't perform mitigation for thread-unsafe libc::exit under Miri.
5035a17 fix rustdoc URL
1530977 On `target_os = "linux"`, ensure that only one Rust thread calls `libc::exit` or returns from `main`.
7e940ba Auto merge of rust-lang#126578 - scottmcm:inlining-bonuses-too, r=davidtwco
9a945fd Auto merge of rust-lang#124032 - Voultapher:a-new-sort, r=thomcc
dbaf524 Rollup merge of rust-lang#126737 - fee1-dead-contrib:rm-const-closures, r=compiler-errors
0f6922d Fix wrong big O star bracing in the doc comments
7bf7f57 Remove `feature(const_closures)` from libcore
b4e2e4a Auto merge of rust-lang#126736 - matthiaskrgr:rollup-rb20oe3, r=matthiaskrgr
0829ab8 Rollup merge of rust-lang#126717 - nnethercote:rustfmt-use-pre-cleanups, r=jieyouxu
f1c9c80 Rollup merge of rust-lang#126711 - GKFX:const-option-as-slice, r=oli-obk
e057232 Auto merge of rust-lang#116088 - nbdd0121:unwind, r=Amanieu,RalfJung
13ea648 Stabilize `PanicInfo::message()` and `PanicMessage`
b6a3858 Rollup merge of rust-lang#126703 - the8472:on-blackbox-crypto-use, r=scottmcm
847726d Shrink some slice iterator MIR
1ba2fa4 Stabilize `hint_assert_unchecked`
9d0041c Update documentation for `hint::assert_unchecked`
e3e84a7 Add blank lines after module-level `//` comments.
36ad0db Add blank lines after module-level `//!` comments.
4e67110 Convert some module-level `//` and `///` comments to `//!`.
669d6fc Make Option::as_[mut_]slice const
4ae781c reword the hint::blackbox non-guarantees
dd7c901 core: add tracking issue for `array::repeat`
5ddeaca core: simplify implementation of `array::repeat`, address other nits
62f7a4e core: implement `UncheckedIterator` for `RepeatN`
387fd1f core: implement `array::repeat`
3fc18d0 Add a hack to prevent proc_macro misopt in CI
a95938d Stabilise c_unwind
2a5e5b8 Rollup merge of rust-lang#125787 - Oneirical:infinite-test-a-novel, r=jieyouxu
227994d try implementing suggestions
78867ab run_make_support nm implementation + bin-emit-no-symbols rmake rewrite
76e61bf Replace `move||` with `move ||` in `compiler/` and `library/`
13a31b6 Auto merge of rust-lang#126330 - m-ou-se:panic-message-type, r=Amanieu
42802a3 Print the tested value in int_log tests
ea1ab74 Add missing CopyMarker impl
384c205 Revert panic_safe test changes
ca458ba Add PanicMessage type for PanicInfo::message().
2238945 Add tracking issue to async_drop API
0b3227b std: rename module for clarity
2b9a4f3 std: update TLS module documentation
00d4964 std: use the `c_int` from `core::ffi` instead of `libc`
bd3b9ec std: simplify `#[cfg]`s for TLS
78eaad5 Fix unintended regression for Freeze + Copy types
8cd20cb Auto merge of rust-lang#126569 - jieyouxu:rollup-1uvkb2y, r=jieyouxu
c1acd7a Rollup merge of rust-lang#126531 - slanterns:error_provider, r=workingjubilee
cd1c998 Rollup merge of rust-lang#126468 - RalfJung:euclid, r=Mark-Simulacrum
2730879 Rollup merge of rust-lang#126346 - hermit-os:fd, r=Amanieu
ebbce69 Rollup merge of rust-lang#126288 - x4exr:patch-1, r=dtolnay
4aa43c7 Auto merge of rust-lang#125720 - folkertdev:optimize_for_size-ptr-rotate, r=Amanieu
7912329 doc: Added commas where needed
48e1578 Fix doc-link issue
489dfce Remove reliance on const_trait in sort implementations
89b5784 std: move `sys_common::backtrace` to `sys`
90dbe22 use rustc-dep-of-std in panic_unwind
6832ad3 Rollup merge of rust-lang#126539 - lukaslueg:patch-1, r=jhpratt
04e46c2 Rollup merge of rust-lang#125112 - tbu-:pr_create_dir_all_empty, r=dtolnay
e77b474 Update `Arc::try_unwrap()` docs
83c530f Apply review comments
ae7f43e Auto merge of rust-lang#126299 - scottmcm:tune-sliceindex-ubchecks, r=saethlin
339f266 Redo SliceIndex implementations
2388743 update comment
4cc1c37 Rollup merge of rust-lang#126229 - ChrisDenton:bindgen, r=Mark-Simulacrum
b40c54b std: refactor the TLS implementation
7e3c4f8 Auto merge of rust-lang#126518 - matthiaskrgr:rollup-wb70rzq, r=matthiaskrgr
2678593 std: suggest OnceLock over Once
b509ed2 Polish `std::path::absolute` documentation.
c3c1757 Auto merge of rust-lang#126473 - matthiaskrgr:rollup-8w2xm09, r=matthiaskrgr
a135342 Rollup merge of rust-lang#126285 - kpreid:unique-rc, r=dtolnay
7fafb6d Rollup merge of rust-lang#126266 - tbu-:pr_doc_alloc_default_system, r=jhpratt
afee9f5 Rollup merge of rust-lang#126135 - hermit-os:fuse, r=jhpratt
4a32b4b Rollup merge of rust-lang#123769 - dtolnay:literal, r=fee1-dead
3909d51 div_euclid, rem_euclid: clarify/extend documentation
ca52a2c Rollup merge of rust-lang#126351 - devnexen:to_sol11_upd, r=ChrisDenton
369fa55 Rollup merge of rust-lang#126402 - firefighterduck:fix-unsafe-precon-copy, r=Nilstrieb
2acb995 Rollup merge of rust-lang#126390 - Kriskras99:master, r=Nilstrieb
b3c1dcb Rollup merge of rust-lang#126360 - compiler-errors:uplift-structural-traits, r=lcnr
bdb9aa2 Rollup merge of rust-lang#123726 - jieyouxu:command-new-docs, r=Nilstrieb
307d1af Remove superfluous escaping from byte, byte str, and c str literals
78d94ee LangItem-ify Coroutine trait in solvers
891f00c fix wrong assert_unsafe_precondition message for core::ptr::copy
9adf702 Rollup merge of rust-lang#126384 - RalfJung:is_none_or, r=workingjubilee
02cb1e9 Rollup merge of rust-lang#126347 - slanterns:try_simplify, r=scottmcm
fa2a54a Fix wording in {checked_}next_power_of_two
3ef894f add tracking issue for is_none_or
a5fe19d std::unix::fs::link using direct linkat call for Solaris and macOs.
9921cd2 Rollup merge of rust-lang#126328 - RalfJung:is_none_or, r=workingjubilee
93583a6 Simplify `try_*` on `Iterator`
47090b1 export std::os::fd module on HermitOS
17c90d8 Auto merge of rust-lang#126273 - pietroalbini:pa-bootstrap-update, r=Mark-Simulacrum
b482e06 add is_none_or
027c82e Rollup merge of rust-lang#126322 - m-ou-se:panicinfo-and-panicinfo-2, r=RalfJung
db03ec6 Rollup merge of rust-lang#126242 - yaahc:simplify-provider, r=jhpratt
956efde Rollup merge of rust-lang#126039 - dpaoliello:arm64ecbuild, r=davidtwco
3acb41f Fix deprecated version.
bc5e618 Update doc comment on PanicInfo::message().
249d63e Use payload_as_str instead of two downcasts.
15677e9 Fix deprecation version.
a239d5b Clarify doc comment.
209f8c8 Auto merge of rust-lang#126319 - workingjubilee:rollup-lendnud, r=workingjubilee
6ec98e7 Rollup merge of rust-lang#126305 - workingjubilee:fix-os-string-to-string-utf8-invariant, r=joboet
80467da Rollup merge of rust-lang#126287 - nnethercote:reformat-cranelift-patch, r=bjorn3
5760a4e Rollup merge of rust-lang#126281 - ChrisDenton:env, r=jhpratt
439c2ae Rollup merge of rust-lang#126249 - workingjubilee:simplify-try-map-signature, r=scottmcm
23e3dbf Rollup merge of rust-lang#126210 - lolbinarycat:ptr_doctest_assert, r=workingjubilee
d469394 Rollup merge of rust-lang#123374 - mgeier:doc-slice-from-raw-parts, r=scottmcm
63fe960 Require any function with a tait in its signature to actually constrain a hidden type
e1d73c2 Revert "Rollup merge of rust-lang#125362 - joboet:tait_hack, r=Nilstrieb"
382ed52 Make PathBuf less Ok with adding UTF-16 then `into_string`
548e7a4 Update a cranelift patch file for formatting changes.
8ccbe9e `UniqueRc`: support allocators and `T: ?Sized`.
b3dcee6 set_env: State the conclusion upfront
f56c023 Rename `std::fs::try_exists` to  `std::fs::exists` and stabilize fs_try_exists
c16d8b1 Unify guarantees about the default allocator
d8fe589 remove cfg(bootstrap)
a2ff49b replace version placeholder
f72e4a9 Formatting.
0503ca7 Bump deprecation of std's PanicInfo alias to 1.82.0.
fea6b03 Add PanicHookInfo::payload_as_str().
0c8a9e0 Fix display of panic message in recursive panic.
2f85702 Mention core's PanicInfo in error.md.
ad0667f Add note on panic payload type.
518722e Downcast panic payload to String too in example.
c4dea81 Move deprecation of std::panic::PanicInfo to 1.80.0.
143e4c4 Fix deprecation version.
c6749ae Rename std::panic::PanicInfo to PanicHookInfo.
db2e055 Formatting.
51f20ac Fix invalid markdown/html.
d4b7304 Reorder body of begin_panic for consistency.
373fb60 Impl Display for PanicPayload to simplify things.
224d45c Use unnamed lifetimes for [..]Payload impl blocks.
cf984e0 Move downcasting panic payload to str to a function.
a18eeac Mark some PanicInfo methods as #[inline] for consistency.
47f359b Remove std::panic::PanicInfo::internal_constructor+set_payload.
701d6a2 Remove core::panic::PanicInfo::internal_constructor.
cca865d Update doc comment about core::panicking.
221a90c Fix doc link.
d6658a5 Add core::panic::PanicInfo::payload() for compatibility.
ca0bfeb Document difference between core and std's PanicInfo.
702405e Split core's PanicInfo and std's PanicInfo.
019e01f Skip fast path for dec2flt when optimize_for_size
483f641 Simplify `[T; N]::try_map` signature
8b6f468 Simplify provider api to improve llvm ir
c8170e6 Rollup merge of rust-lang#126212 - SteveLauC:fix/haiku, r=joboet
58bb5cf Rollup merge of rust-lang#126191 - ivan-shrimp:nonzero_doc, r=scottmcm
d2f8ddf Bump windows-bindgen to 0.57
02bf152 Clarify `Command::new` behavior if passed programs with arguments
e17d6b9 Remove some unused crate dependencies.
5840184 Update docs for AtomicU8/I8.
8791549 fix: build on haiku
263861f Update safety docs for AtomicBool::from_ptr.
e25ae61 docs(core): make more const_ptr doctests assert instead of printing
cf9de23 Auto merge of rust-lang#126205 - jieyouxu:rollup-s64z5ng, r=jieyouxu
c5da756 Rollup merge of rust-lang#126194 - ChrisDenton:winerror, r=Mark-Simulacrum
c4bd74c Rollup merge of rust-lang#125253 - sunsided:feature/FRAC_1_SQRT_PI, r=Mark-Simulacrum
c9c5d8f Auto merge of rust-lang#126193 - RalfJung:miri-sync, r=RalfJung
e39299d Migrate more things to WinError
0df0a38 fix `NonZero` doctest inconsistencies
818933d Rollup merge of rust-lang#126168 - devnexen:current_exe_haiku_simpl, r=ChrisDenton
a9bd569 Rollup merge of rust-lang#126146 - devnexen:signal_fbsd, r=ChrisDenton
05812a0 Merge from rustc
56bdaf3 std::unix::os current_exe implementation simplification for haiku.
e6c378f Auto merge of rust-lang#125966 - schvv31n:impl_os_string_pathbuf_leak, r=workingjubilee
e000ecb std::unix::process adding few specific freebsd signals to be able to id.
67454f5 Rollup merge of rust-lang#126138 - wbk:patch-1, r=lqd
ca932c8 Rollup merge of rust-lang#125998 - devnexen:get_mode_illumos, r=Nilstrieb
397e9cb Rollup merge of rust-lang#125951 - slanterns:error_in_core_stabilization, r=Amanieu
4655eca Fix typo in docs for std::pin
bb2e2d9 add HermitOS support of vectored read/write operations
dd7ccb7 Rollup merge of rust-lang#126089 - wutchzone:option_take_if, r=scottmcm
199da77 Rollup merge of rust-lang#126030 - ChrisDenton:update-wingen-readme, r=Mark-Simulacrum
8a4b11a Rollup merge of rust-lang#124012 - slanterns:as_slice_stabilize, r=BurntSushi
05a92c2 Auto merge of rust-lang#126110 - workingjubilee:backtrace-0.3.73, r=workingjubilee
cd73cbe Update backtrace to 0.3.73
c6e53ce Merge from rustc
3b60335 Rollup merge of rust-lang#125606 - diondokter:opt-size-int-fmt, r=cuviper
7014731 fix doc comments about `error_generic_member_access`
3f48168 Stabilize `error_in_core`
20f15f4 fixed memory leaks in PathBuf::leak & OsString::leak tests
fa66a61 Rollup merge of rust-lang#126096 - c410-f3r:tests-tests-tests, r=jhpratt
5736944 [RFC-2011] Allow `core_intrinsics` when activated
dfddd7e Stabilize Option::take_if
051c6c6 Raise `DEFAULT_MIN_STACK_SIZE` to at least 64KiB
29932f3 Auto merge of rust-lang#126038 - matthiaskrgr:rollup-h4rm3x2, r=matthiaskrgr
149a237 Promote `arm64ec-pc-windows-msvc` to tier 2
4a81c12 Rollup merge of rust-lang#126032 - ChrisDenton:update-docs, r=joboet
7450cf0 Rollup merge of rust-lang#125800 - fortanix:raoul/rte-99-fix_mut_static_task_queue, r=jethrogb
ed91d55 Rollup merge of rust-lang#125940 - devnexen:unix_fs_netbsd_get_path, r=cuviper
bf7430f Update description of the `IsTerminal` example
91c8b23 Update `./x fmt` command
1632165 Rollup merge of rust-lang#125995 - kpreid:const-uninit-stable, r=Nilstrieb
2c5f1ac Rollup merge of rust-lang#125982 - xTachyon:fix-linked-list, r=jhpratt
80cee25 Rollup merge of rust-lang#123168 - joshtriplett:size-of-prelude, r=Amanieu
28dc012 std::unix::fs::get_mode implementation for illumos/solaris.
14a6f29 Use inline const instead of unsafe to implement `MaybeUninit::uninit_array()`.
a2c3406 Use inline const instead of unsafe to construct arrays in `MaybeUninit` examples.
f8ee355 Rollup merge of rust-lang#125932 - schvv31n:patch-1, r=lqd
49dad46 Rollup merge of rust-lang#125927 - ferrocene:lw-alloc-unwind-test, r=pietroalbini
e38c13a Rollup merge of rust-lang#125696 - workingjubilee:please-dont-say-you-are-lazy, r=Nilstrieb
1764910 Rollup merge of rust-lang#106186 - rossmacarthur:ft/iter-chain, r=Amanieu
fbb5246 Make deleting on LinkedList aware of the allocator
85aa4b6 impl OsString::leak & PathBuf::leak
b19dd14 Add function `core::iter::chain`
25245bb Rollup merge of rust-lang#125919 - tbu-:pr_fix_typo, r=lqd
a415ddd Rollup merge of rust-lang#125504 - mqudsi:once_nominal, r=cuviper
ea7e91c Let compiler auto impl `Send` for `Task`
55f3d10 Store `Task::p` as `dyn FnOnce() + Send`
92b604f Pass function for `Thread` as `Send` to `Thread::imp`
175ad22 Auto merge of rust-lang#125525 - joboet:tls_accessor, r=cuviper
31e0022 std::unix::fs::get_path: using fcntl codepath for netbsd instead.
82e24ad Fix typo in the docs of `HashMap::raw_entry_mut`
fcc07af Ignore `vec_deque_alloc_error::test_shrink_to_unwind` test on non-unwind targets
6ef46b3 Auto merge of rust-lang#125912 - nnethercote:rustfmt-tests-mir-opt, r=oli-obk
7927138 Remove stray "this"
06d9b0e Add "OnceList" example to motivate OnceLock
6d001c5 Move first OnceLock example to LazyLock
7e47256 Differ LazyLock vs. OnceLock in std::sync overview
a198721 Explain LazyCell in core::cell overview
ae5598a Reformat `mir!` macro invocations to use braces.
494f05c Rollup merge of rust-lang#125898 - RalfJung:typo, r=Nilstrieb
7881d33 Rollup merge of rust-lang#125884 - Rua:integer_sign_cast, r=Mark-Simulacrum
380d9a3 Rollup merge of rust-lang#121062 - RustyYato:f32-midpoint, r=the8472
81b9e26 Wording of the documentation
1c707b6 typo: depending from -> on
fe5adb9 Auto merge of rust-lang#125577 - devnexen:netbsd_stack_min, r=joboet
876458e Implement feature `integer_sign_cast`
e929c7f Change f32::midpoint to upcast to f64
cd04000 Auto merge of rust-lang#124294 - tspiteri:ilog-first-iter, r=the8472
7f0b19d stablize `const_binary_heap_constructor` & create an unstable feature `const_binary_heap_new_in` for `BinaryHeap::new_in`
5c2e274 Rollup merge of rust-lang#125730 - mu001999-contrib:clippy-fix, r=oli-obk
9fe1803 Auto merge of rust-lang#124662 - zetanumbers:needs_async_drop, r=oli-obk
8943103 Avoid `mut` and simplify initialization of `TASK_QUEUE`
ba98164 Auto merge of rust-lang#124636 - tbu-:pr_env_unsafe, r=petrochenkov
bbaaa79 Rollup merge of rust-lang#125746 - jmillikin:duration-from-weeks-typo, r=lqd
1329a62 Rollup merge of rust-lang#125739 - RalfJung:drop-in-place-docs, r=workingjubilee
8883bcf Rollup merge of rust-lang#125342 - tbu-:pr_doc_write, r=ChrisDenton
14d5dcb explain what the open questions are, and add a Miri test for that
6f01ba7 Apply x clippy --fix and x fmt
c9c0713 Fix copy-paste error in `Duration::from_weeks` panic message.
e935223 Rollup merge of rust-lang#125733 - compiler-errors:async-fn-assoc-item, r=fmease
4feb881 Elaborate about modifying env vars in multi-threaded programs
2500719 Add note about safety of `std::env::set_var` on Windows
c4b1ff8 Make `std::env::{set_var, remove_var}` unsafe in edition 2024
07d3009 drop_in_place: weaken the claim of equivalence with drop(ptr.read())
99eabb4 Add lang item for AsyncFnKindHelper::Upvars
a8f468f Add lang item for Future::Output
2e1896e Add lang items for AsyncFn's associated types
d82378a [ACP 362] genericize `ptr::from_raw_parts`
619e33b Add FRAC_1_SQRT_2PI doc alias to FRAC_1_SQRT_TAU
1265244 make `ptr::rotate` smaller when using `optimize_for_size`
bb6d4eb Add safety comment to fix tidy
c8b699c Optimize async drop glue for some old types
0444ab8 Add FRAC_1_SQRT_2PI constant to f16/f32/f64/f128
1aaf0a9 Rollup merge of rust-lang#125226 - madsmtm:fix-mac-catalyst-tests, r=workingjubilee
565dce2 Rollup merge of rust-lang#124251 - scottmcm:unop-ptr-metadata, r=oli-obk
a4025eb Add custom mir support for `PtrMetadata`
87b9f24 Add an intrinsic for `ptr::metadata`
914d2c0 Rollup merge of rust-lang#125637 - nnethercote:rustfmt-fixes, r=GuillaumeGomez
3170156 Make more of the test suite run on Mac Catalyst
9753338 Disable stack overflow handler tests on iOS-like platforms
3548389 Don't format `tests/run-make/*/rmake.rs`.
6fcf130 Rollup merge of rust-lang#125647 - tspiteri:track-lazy_cell_consume, r=workingjubilee
385e1b8 Rollup merge of rust-lang#125551 - clarfonthey:ip-bits, r=jhpratt
457f5ee update tracking issue for lazy_cell_consume
893db81 Auto merge of rust-lang#125636 - workingjubilee:bump-backtrace-0.3.72, r=workingjubilee
6785858 Sync libstd deps with backtrace
b214872 Bump backtrace to 0.3.72
0ef7706 Auto merge of rust-lang#125609 - diondokter:opt-size-char-count, r=thomcc
3578f42 Rollup merge of rust-lang#124870 - Lokathor:update-result-docs, r=dtolnay
d4fb66b Always use the general case char count
1e8098b Size optimize int formatting
a74509c Rollup merge of rust-lang#125559 - scottmcm:simplify-shift-ubcheck, r=workingjubilee
bc346a0 Auto merge of rust-lang#122079 - tbu-:pr_copy_file_range_probe, r=the8472
fdcee4d std::pal::unix::thread fetching min stack size on netbsd.
d14171d Auto merge of rust-lang#125574 - matthiaskrgr:rollup-1oljoup, r=matthiaskrgr
3e545bc Rollup merge of rust-lang#125571 - tesuji:dummy-pi, r=Nilstrieb
8409442 Rollup merge of rust-lang#125561 - Cyborus04:stabilize-slice-flatten, r=scottmcm
8981ee4 Auto merge of rust-lang#125570 - tesuji:stdout-handle, r=Nilstrieb
addaaed f32: use constants instead of reassigning a dummy value as PI
8a6d10d use proper name instead of magic number
64671fa Stabilize `slice_flatten`
4014081 Auto merge of rust-lang#125070 - tbu-:pr_set_extension_panic, r=jhpratt
f54c557 Auto merge of rust-lang#125518 - saethlin:check-arguments-new-in-const, r=joboet
a4bac2b It seems that anchor names are implicitly all lowercase
7cddfd4 Simplify the `unchecked_sh[lr]` ub-checks a bit
805f56b Fix URL target, it's in the module not the type.
3b77f19 github showed that weird.
65726c0 correct for copy paste errors when fixing wrapping.
613145f Resolve rust-lang#124870 (comment)
9677b70 revert to the inconsistent paragraph wrapping.
bf3ca98 Rollup merge of rust-lang#124667 - newpavlov:stabilize_div_duration, r=jhpratt
4af28c4 Rollup merge of rust-lang#123803 - Sp00ph:shrink_to_fix, r=Mark-Simulacrum
79e1daf Rollup merge of rust-lang#122986 - taiki-e:aix-c-char, r=Mark-Simulacrum
0b13a6c Rollup merge of rust-lang#121377 - pitaj:lazy_cell_fn_pointer, r=dtolnay
b1ac7da Stabilise ip_bits feature
23bb5bc Auto merge of rust-lang#121571 - clarfonthey:unchecked-math-preconditions, r=saethlin
c11b36a Rollup merge of rust-lang#125527 - programmerjake:patch-2, r=workingjubilee
d6812d5 Rollup merge of rust-lang#125498 - zmodem:avx512er, r=workingjubilee
f52291b Rollup merge of rust-lang#125478 - Urgau:check-cfg-config-bump-stage0, r=Mark-Simulacrum
38dcab9 Rollup merge of rust-lang#125271 - RalfJung:posix_memalign, r=workingjubilee
29a1b3b Move the checks for Arguments constructors to inline const
5257f3f Add manual Sync impl for ReentrantLockGuard
078095a std: make TLS accessors closures that return pointers
567096d Rollup merge of rust-lang#125497 - meesfrensel:patch-1, r=calebzulawski
dd828cf Stop using the avx512er and avx512pf x86 target features
749b376 Change pedantically incorrect OnceCell/OnceLock wording
2b1602a Fix some SIMD intrinsics documentation
59b5617 Remove now outdated comment since we bumped stage0
6d1cdb5 Add assert_unsafe_precondition to unchecked_{add,sub,neg,mul,shl,shr} methods
ce29159 Simplify environment variable examples
8fa3f60 Document behavior of `create_dir_all` wrt. empty path
dd196e7 Document platform-specifics for `Read` and `Write` of `File`
a71d9d9 Fix c_char on AIX
ce3db1b fix typo
4913884 use posix_memalign on most Unix targets
86878b9 Fix linkchecker doc errors
1bf7a30 Turn bare links into automatic links
736b225 Move BufGuard impl outside of function
a44e7b3 Fix tidy errors
36af639 Replace sort implementations
48a835b Divide float nanoseconds instead of seconds
f84d57f Don't use `T` with both Result and Option, improve explanation.
88338ff Add `size_of`, `size_of_val`, `align_of`, and `align_of_val` to the prelude
5d56638 Panic if `PathBuf::set_extension` would add a path separator
7db52fc Add fn allocator method to rc/sync::Weak. Relax Rc<T>/Arc<T>::allocator to allow unsized T.
43bf016 Suggest borrowing on fn argument that is `impl AsRef`
50d5af4 use teletype on the attribute name
43ae187 Some Result combinations work like an Option.
d0c07aa Move `test_shrink_to_unwind` to its own file.
d77b1cc Fix `VecDeque::shrink_to` UB when `handle_alloc_error` unwinds.
0342284 Use `CURRENT_RUSTC_VERSION`
9eb77db Stabilize `div_duration`
7a6ddb3 Lift the probe code of `copy_file_range` into a function
f5305c1 Add missing .into_iter()
2a5af32 Extend the example code and assert the result
678e5a0 Add "safety" comment
ad38f9b unroll first iter of checked_ilog loop to save one multiplication
dbd03d4 Stabilize `BinaryHeap::as_slice`
08f761f DOC: Add FFI example for slice::from_raw_parts()
30c876c Be stricter with `copy_file_range` probe results
fe05246 Less syscalls for the `copy_file_range` probe
511fe47 Stabilize `LazyCell` and `LazyLock` (`lazy_cell`)

git-subtree-dir: library
git-subtree-split: a2cf636
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this pull request Oct 13, 2024
This is based on the pkgsrc-wip rust180 package, retaining
the main pkgsrc changes as best as I could.

Pkgsrc changes:
 * Adapt checksums and patches.
 * Make this work again on big-endian aarch64 (at least on NetBSD).
 * Make the choice of GCC = 12 work for sparc64 by testing options
   after options.mk is included (which is required...).  Makes this
   work on NetBSD/sparc64 10.0 again.

Upstream chnages:

Version 1.80.1 (2024-08-08)
===========================

- [Fix miscompilation in the jump threading MIR optimization when
  comparing floats]
  (rust-lang/rust#128271)
- [Revert changes to the `dead_code` lint from 1.80.0]
  (rust-lang/rust#128618)

Version 1.80.0 (2024-07-25)
==========================

Language
--------
- [Document maximum allocation size]
  (rust-lang/rust#116675)
- [Allow zero-byte offsets and ZST read/writes on arbitrary pointers]
  (rust-lang/rust#117329)
- [Support C23's variadics without a named parameter]
  (rust-lang/rust#124048)
- [Stabilize `exclusive_range_pattern` feature]
  (rust-lang/rust#124459)
- [Guarantee layout and ABI of `Result` in some scenarios]
  (rust-lang/rust#124870)

Compiler
--------
- [Update cc crate to v1.0.97 allowing additional spectre mitigations
  on MSVC targets]
  (rust-lang/rust#124892)
- [Allow field reordering on types marked `repr(packed(1))`]
  (rust-lang/rust#125360)
- [Add a lint against never type fallback affecting unsafe code]
  (rust-lang/rust#123939)
- [Disallow cast with trailing braced macro in let-else]
  (rust-lang/rust#125049)
- [Expand `for_loops_over_fallibles` lint to lint on fallibles
  behind references.]
  (rust-lang/rust#125156)
- [self-contained linker: retry linking without `-fuse-ld=lld` on
  CCs that don't support it]
  (rust-lang/rust#125417)
- [Do not parse CVarArgs (`...`) as a type in trait bounds]
  (rust-lang/rust#125863)
- Improvements to LLDB formatting [#124458]
  (rust-lang/rust#124458) [#124500]
  (rust-lang/rust#124500)
- [For the wasm32-wasip2 target default to PIC and do not use `-fuse-ld=lld`]
  (rust-lang/rust#124858)
- [Add x86_64-unknown-linux-none as a tier 3 target]
  (rust-lang/rust#125023)
- [Lint on `foo.into_iter()` resolving to `&Box<[T]>: IntoIterator`]
  (rust-lang/rust#124097)

Libraries
---------
- [Add `size_of` and `size_of_val` and `align_of` and `align_of_val`
  to the prelude]
  (rust-lang/rust#123168)
- [Abort a process when FD ownership is violated]
  (rust-lang/rust#124210)
- [io::Write::write_fmt: panic if the formatter fails when the
  stream does not fail]
  (rust-lang/rust#125012)
- [Panic if `PathBuf::set_extension` would add a path separator]
  (rust-lang/rust#125070)
- [Add assert_unsafe_precondition to unchecked_{add,sub,neg,mul,shl,shr}
  methods] (rust-lang/rust#121571)
- [Update `c_char` on AIX to use the correct type]
  (rust-lang/rust#122986)
- [`offset_of!` no longer returns a temporary]
  (rust-lang/rust#124484)
- [Handle sigma in `str.to_lowercase` correctly]
  (rust-lang/rust#124773)
- [Raise `DEFAULT_MIN_STACK_SIZE` to at least 64KiB]
  (rust-lang/rust#126059)

Stabilized APIs
---------------
- [`impl Default for Rc<CStr>`]
  (https://doc.rust-lang.org/beta/alloc/rc/struct.Rc.html#impl-Default-for-Rc%3CCStr%3E)
- [`impl Default for Rc<str>`]
  (https://doc.rust-lang.org/beta/alloc/rc/struct.Rc.html#impl-Default-for-Rc%3Cstr%3E)
- [`impl Default for Rc<[T]>`]
  (https://doc.rust-lang.org/beta/alloc/rc/struct.Rc.html#impl-Default-for-Rc%3C%5BT%5D%3E)
- [`impl Default for Arc<str>`]
  (https://doc.rust-lang.org/beta/alloc/sync/struct.Arc.html#impl-Default-for-Arc%3Cstr%3E)
- [`impl Default for Arc<CStr>`]
  (https://doc.rust-lang.org/beta/alloc/sync/struct.Arc.html#impl-Default-for-Arc%3CCStr%3E)
- [`impl Default for Arc<[T]>`]
  (https://doc.rust-lang.org/beta/alloc/sync/struct.Arc.html#impl-Default-for-Arc%3C%5BT%5D%3E)
- [`impl IntoIterator for Box<[T]>`]
  (https://doc.rust-lang.org/beta/alloc/boxed/struct.Box.html#impl-IntoIterator-for-Box%3C%5BI%5D,+A%3E)
- [`impl FromIterator<String> for Box<str>`]
  (https://doc.rust-lang.org/beta/alloc/boxed/struct.Box.html#impl-FromIterator%3CString%3E-for-Box%3Cstr%3E)
- [`impl FromIterator<char> for Box<str>`]
  (https://doc.rust-lang.org/beta/alloc/boxed/struct.Box.html#impl-FromIterator%3Cchar%3E-for-Box%3Cstr%3E)
- [`LazyCell`]
  (https://doc.rust-lang.org/beta/core/cell/struct.LazyCell.html)
- [`LazyLock`]
  (https://doc.rust-lang.org/beta/std/sync/struct.LazyLock.html)
- [`Duration::div_duration_f32`]
  (https://doc.rust-lang.org/beta/std/time/struct.Duration.html#method.div_duration_f32)
- [`Duration::div_duration_f64`]
  (https://doc.rust-lang.org/beta/std/time/struct.Duration.html#method.div_duration_f64)
- [`Option::take_if`]
  (https://doc.rust-lang.org/beta/std/option/enum.Option.html#method.take_if)
- [`Seek::seek_relative`]
  (https://doc.rust-lang.org/beta/std/io/trait.Seek.html#method.seek_relative)
- [`BinaryHeap::as_slice`]
  (https://doc.rust-lang.org/beta/std/collections/struct.BinaryHeap.html#method.as_slice)
- [`NonNull::offset`]
  (https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.offset)
- [`NonNull::byte_offset`]
  (https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.byte_offset)
- [`NonNull::add`]
  (https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.add)
- [`NonNull::byte_add`]
  (https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.byte_add)
- [`NonNull::sub`]
  (https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.sub)
- [`NonNull::byte_sub`]
  (https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.byte_sub)
- [`NonNull::offset_from`]
  (https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.offset_from)
- [`NonNull::byte_offset_from`]
  (https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.byte_offset_from)
- [`NonNull::read`]
  (https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.read)
- [`NonNull::read_volatile`]
  (https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.read_volatile)
- [`NonNull::read_unaligned`]
  (https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.read_unaligned)
- [`NonNull::write`]
  (https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.write)
- [`NonNull::write_volatile`]
  (https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.write_volatile)
- [`NonNull::write_unaligned`]
  (https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.write_unaligned)
- [`NonNull::write_bytes`]
  (https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.write_bytes)
- [`NonNull::copy_to`]
  (https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.copy_to)
- [`NonNull::copy_to_nonoverlapping`]
  (https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.copy_to_nonoverlapping)
- [`NonNull::copy_from`]
  (https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.copy_from)
- [`NonNull::copy_from_nonoverlapping`]
  (https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.copy_from_nonoverlapping)
- [`NonNull::replace`]
  (https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.replace)
- [`NonNull::swap`]
  (https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.swap)
- [`NonNull::drop_in_place`]
  (https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.drop_in_place)
- [`NonNull::align_offset`]
  (https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.align_offset)
- [`<[T]>::split_at_checked`]
  (https://doc.rust-lang.org/beta/std/primitive.slice.html#method.split_at_checked)
- [`<[T]>::split_at_mut_checked`]
  (https://doc.rust-lang.org/beta/std/primitive.slice.html#method.split_at_mut_checked)
- [`str::split_at_checked`]
  (https://doc.rust-lang.org/beta/std/primitive.str.html#method.split_at_checked)
- [`str::split_at_mut_checked`]
  (https://doc.rust-lang.org/beta/std/primitive.str.html#method.split_at_mut_checked)
- [`str::trim_ascii`]
  (https://doc.rust-lang.org/beta/std/primitive.str.html#method.trim_ascii)
- [`str::trim_ascii_start`]
  (https://doc.rust-lang.org/beta/std/primitive.str.html#method.trim_ascii_start)
- [`str::trim_ascii_end`]
  (https://doc.rust-lang.org/beta/std/primitive.str.html#method.trim_ascii_end)
- [`<[u8]>::trim_ascii`]
  (https://doc.rust-lang.org/beta/core/primitive.slice.html#method.trim_ascii)
- [`<[u8]>::trim_ascii_start`]
  (https://doc.rust-lang.org/beta/core/primitive.slice.html#method.trim_ascii_start)
- [`<[u8]>::trim_ascii_end`]
  (https://doc.rust-lang.org/beta/core/primitive.slice.html#method.trim_ascii_end)
- [`Ipv4Addr::BITS`]
  (https://doc.rust-lang.org/beta/core/net/struct.Ipv4Addr.html#associatedconstant.BITS)
- [`Ipv4Addr::to_bits`]
  (https://doc.rust-lang.org/beta/core/net/struct.Ipv4Addr.html#method.to_bits)
- [`Ipv4Addr::from_bits`]
  (https://doc.rust-lang.org/beta/core/net/struct.Ipv4Addr.html#method.from_bits)
- [`Ipv6Addr::BITS`]
  (https://doc.rust-lang.org/beta/core/net/struct.Ipv6Addr.html#associatedconstant.BITS)
- [`Ipv6Addr::to_bits`]
  (https://doc.rust-lang.org/beta/core/net/struct.Ipv6Addr.html#method.to_bits)
- [`Ipv6Addr::from_bits`]
  (https://doc.rust-lang.org/beta/core/net/struct.Ipv6Addr.html#method.from_bits)
- [`Vec::<[T; N]>::into_flattened`]
  (https://doc.rust-lang.org/beta/alloc/vec/struct.Vec.html#method.into_flattened)
- [`<[[T; N]]>::as_flattened`]
  (https://doc.rust-lang.org/beta/core/primitive.slice.html#method.as_flattened)
- [`<[[T; N]]>::as_flattened_mut`]
  (https://doc.rust-lang.org/beta/core/primitive.slice.html#method.as_flattened_mut)

These APIs are now stable in const contexts:

- [`<[T]>::last_chunk`]
  (https://doc.rust-lang.org/beta/core/primitive.slice.html#method.last_chunk)
- [`BinaryHeap::new`]
  (https://doc.rust-lang.org/beta/std/collections/struct.BinaryHeap.html#method.new)

Cargo
-----

- [Stabilize `-Zcheck-cfg` as always enabled]
  (rust-lang/cargo#13571)
- [Warn, rather than fail publish, if a target is excluded]
  (rust-lang/cargo#13713)
- [Add special `check-cfg` lint config for the `unexpected_cfgs` lint]
  (rust-lang/cargo#13913)
- [Stabilize `cargo update --precise <yanked>`]
  (rust-lang/cargo#13974)
- [Don't change file permissions on `Cargo.toml` when using `cargo add`]
  (rust-lang/cargo#13898)
- [Support using `cargo fix` on IPv6-only networks]
  (rust-lang/cargo#13907)

Rustdoc
-----

- [Allow searching for references]
  (rust-lang/rust#124148)
- [Stabilize `custom_code_classes_in_docs` feature]
  (rust-lang/rust#124577)
- [fix: In cross-crate scenarios show enum variants on type aliases of enums]
  (rust-lang/rust#125300)

Compatibility Notes
-------------------

- [rustfmt estimates line lengths differently when using non-ascii characters]
  (rust-lang/rustfmt#6203)
- [Type aliases are now handled correctly in orphan check]
  (rust-lang/rust#117164)
- [Allow instructing rustdoc to read from stdin via `-`]
  (rust-lang/rust#124611)
- [`std::env::{set_var, remove_var}` can no longer be converted to
  safe function pointers and no longer implement the `Fn` family of
  traits]
  (rust-lang/rust#124636)
- [Warn (or error) when `Self` constructor from outer item is
  referenced in inner nested item]
  (rust-lang/rust#124187)
- [Turn `indirect_structural_match` and `pointer_structural_match`
  lints into hard errors]
  (rust-lang/rust#124661)
- [Make `where_clause_object_safety` lint a regular object safety violation]
  (rust-lang/rust#125380)
- [Turn `proc_macro_back_compat` lint into a hard error.]
  (rust-lang/rust#125596)
- [Detect unused structs even when implementing private traits]
  (rust-lang/rust#122382)
- [`std::sync::ReentrantLockGuard<T>` is no longer `Sync` if `T: !Sync`]
  (rust-lang/rust#125527) which means
  [`std::io::StdoutLock` and `std::io::StderrLock` are no longer
  Sync] (rust-lang/rust#127340)

Internal Changes
----------------

These changes do not affect any public interfaces of Rust, but they represent
significant improvements to the performance or internals of rustc and related
tools.

- Misc improvements to size of generated html by rustdoc e.g. [#124738]
  (rust-lang/rust#124738) and [#123734]
  (rust-lang/rust#123734)
- [MSVC targets no longer depend on libc]
  (rust-lang/rust#124050)


Version 1.79.0 (2024-06-13)
==========================

Language
--------
- [Stabilize inline `const {}` expressions.]
  (rust-lang/rust#104087)
- [Prevent opaque types being instantiated twice with different
  regions within the same function.]
  (rust-lang/rust#116935)
- [Stabilize WebAssembly target features that are in phase 4 and 5.]
  (rust-lang/rust#117457)
- [Add the `redundant_lifetimes` lint to detect lifetimes which
  are semantically redundant.]
  (rust-lang/rust#118391)
- [Stabilize the `unnameable_types` lint for public types that can't be named.]
  (rust-lang/rust#120144)
- [Enable debuginfo in macros, and stabilize `-C collapse-macro-debuginfo`
  and `#[collapse_debuginfo]`.]
  (rust-lang/rust#120845)
- [Propagate temporary lifetime extension into `if` and `match` expressions.]
  (rust-lang/rust#121346)
- [Restrict promotion of `const fn` calls.]
  (rust-lang/rust#121557)
- [Warn against refining impls of crate-private traits with
  `refining_impl_trait` lint.]
  (rust-lang/rust#121720)
- [Stabilize associated type bounds (RFC 2289).]
  (rust-lang/rust#122055)
- [Stabilize importing `main` from other modules or crates.]
  (rust-lang/rust#122060)
- [Check return types of function types for well-formedness]
  (rust-lang/rust#115538)
- [Rework `impl Trait` lifetime inference]
  (rust-lang/rust#116891)
- [Change inductive trait solver cycles to be ambiguous]
  (rust-lang/rust#122791)

Compiler
--------
- [Define `-C strip` to only affect binaries, not artifacts like `.pdb`.]
  (rust-lang/rust#115120)
- [Stabilize `-Crelro-level` for controlling runtime link hardening.]
  (rust-lang/rust#121694)
- [Stabilize checking of `cfg` names and values at compile-time
  with `--check-cfg`.]
  (rust-lang/rust#123501)
  *Note that this only stabilizes the compiler part, the Cargo part
  is still unstable in this release.*
- [Add `aarch64-apple-visionos` and `aarch64-apple-visionos-sim`
  tier 3 targets.]
  (rust-lang/rust#121419)
- [Add `riscv32ima-unknown-none-elf` tier 3 target.]
  (rust-lang/rust#122696)
- [Promote several Windows targets to tier 2]
  (rust-lang/rust#121712):
  `aarch64-pc-windows-gnullvm`, `i686-pc-windows-gnullvm`, and
  `x86_64-pc-windows-gnullvm`.

Refer to Rust's [platform support page][platform-support-doc]
for more information on Rust's tiered platform support.

Libraries
---------

- [Implement `FromIterator` for `(impl Default + Extend, impl
  Default + Extend)`.]
  (rust-lang/rust#107462)
- [Implement `{Div,Rem}Assign<NonZero<X>>` on `X`.]
  (rust-lang/rust#121952)
- [Document overrides of `clone_from()` in core/std.]
  (rust-lang/rust#122201)
- [Link MSVC default lib in core.]
  (rust-lang/rust#122268)
- [Caution against using `transmute` between pointers and integers.]
  (rust-lang/rust#122379)
- [Enable frame pointers for the standard library.]
  (rust-lang/rust#122646)

Stabilized APIs
---------------

- [`{integer}::unchecked_add`]
  (https://doc.rust-lang.org/stable/core/primitive.i32.html#method.unchecked_add)
- [`{integer}::unchecked_mul`]
  (https://doc.rust-lang.org/stable/core/primitive.i32.html#method.unchecked_mul)
- [`{integer}::unchecked_sub`]
  (https://doc.rust-lang.org/stable/core/primitive.i32.html#method.unchecked_sub)
- [`<[T]>::split_at_unchecked`]
  (https://doc.rust-lang.org/stable/core/primitive.slice.html#method.split_at_unchecked)
- [`<[T]>::split_at_mut_unchecked`]
  (https://doc.rust-lang.org/stable/core/primitive.slice.html#method.split_at_mut_unchecked)
- [`<[u8]>::utf8_chunks`]
  (https://doc.rust-lang.org/stable/core/primitive.slice.html#method.utf8_chunks)
- [`str::Utf8Chunks`]
  (https://doc.rust-lang.org/stable/core/str/struct.Utf8Chunks.html)
- [`str::Utf8Chunk`]
  (https://doc.rust-lang.org/stable/core/str/struct.Utf8Chunk.html)
- [`<*const T>::is_aligned`]
  (https://doc.rust-lang.org/stable/core/primitive.pointer.html#method.is_aligned)
- [`<*mut T>::is_aligned`]
  (https://doc.rust-lang.org/stable/core/primitive.pointer.html#method.is_aligned-1)
- [`NonNull::is_aligned`]
  (https://doc.rust-lang.org/stable/core/ptr/struct.NonNull.html#method.is_aligned)
- [`<*const [T]>::len`]
  (https://doc.rust-lang.org/stable/core/primitive.pointer.html#method.len)
- [`<*mut [T]>::len`]
  (https://doc.rust-lang.org/stable/core/primitive.pointer.html#method.len-1)
- [`<*const [T]>::is_empty`]
  (https://doc.rust-lang.org/stable/core/primitive.pointer.html#method.is_empty)
- [`<*mut [T]>::is_empty`]
  (https://doc.rust-lang.org/stable/core/primitive.pointer.html#method.is_empty-1)
- [`NonNull::<[T]>::is_empty`]
  (https://doc.rust-lang.org/stable/core/ptr/struct.NonNull.html#method.is_empty)
- [`CStr::count_bytes`]
  (https://doc.rust-lang.org/stable/core/ffi/c_str/struct.CStr.html#method.count_bytes)
- [`io::Error::downcast`]
  (https://doc.rust-lang.org/stable/std/io/struct.Error.html#method.downcast)
- [`num::NonZero<T>`]
  (https://doc.rust-lang.org/stable/core/num/struct.NonZero.html)
- [`path::absolute`]
  (https://doc.rust-lang.org/stable/std/path/fn.absolute.html)
- [`proc_macro::Literal::byte_character`]
  (https://doc.rust-lang.org/stable/proc_macro/struct.Literal.html#method.byte_character)
- [`proc_macro::Literal::c_string`]
  (https://doc.rust-lang.org/stable/proc_macro/struct.Literal.html#method.c_string)

These APIs are now stable in const contexts:

- [`Atomic*::into_inner`]
  (https://doc.rust-lang.org/stable/core/sync/atomic/struct.AtomicUsize.html#method.into_inner)
- [`io::Cursor::new`]
  (https://doc.rust-lang.org/stable/std/io/struct.Cursor.html#method.new)
- [`io::Cursor::get_ref`]
  (https://doc.rust-lang.org/stable/std/io/struct.Cursor.html#method.get_ref)
- [`io::Cursor::position`]
  (https://doc.rust-lang.org/stable/std/io/struct.Cursor.html#method.position)
- [`io::empty`]
  (https://doc.rust-lang.org/stable/std/io/fn.empty.html)
- [`io::repeat`]
  (https://doc.rust-lang.org/stable/std/io/fn.repeat.html)
- [`io::sink`]
  (https://doc.rust-lang.org/stable/std/io/fn.sink.html)
- [`panic::Location::caller`]
  (https://doc.rust-lang.org/stable/std/panic/struct.Location.html#method.caller)
- [`panic::Location::file`]
  (https://doc.rust-lang.org/stable/std/panic/struct.Location.html#method.file)
- [`panic::Location::line`]
  (https://doc.rust-lang.org/stable/std/panic/struct.Location.html#method.line)
- [`panic::Location::column`]
  (https://doc.rust-lang.org/stable/std/panic/struct.Location.html#method.column)

Cargo
-----

- [Prevent dashes in `lib.name`, always normalizing to `_`.]
  (rust-lang/cargo#12783)
- [Stabilize MSRV-aware version requirement selection in `cargo add`.]
  (rust-lang/cargo#13608)
- [Switch to using `gitoxide` by default for listing files.]
  (rust-lang/cargo#13696)

Rustdoc
-----

- [Always display stability version even if it's the same as the
  containing item.]
  (rust-lang/rust#118441)
- [Show a single search result for items with multiple paths.]
  (rust-lang/rust#119912)
- [Support typing `/` in docs to begin a search.]
  (rust-lang/rust#123355)

Misc
----

Compatibility Notes
-------------------

- [Update the minimum external LLVM to 17.]
  (rust-lang/rust#122649)
- [`RustcEncodable` and `RustcDecodable` are soft-destabilized, to
  be removed from the prelude in next edition.]
  (rust-lang/rust#116016)
- [The `wasm_c_abi` future-incompatibility lint will warn about use of the
  non-spec-compliant C ABI.]
  (rust-lang/rust#117918)
  Use `wasm-bindgen v0.2.88` to generate forward-compatible bindings.
- [Check return types of function types for well-formedness]
  (rust-lang/rust#115538)

Version 1.78.0 (2024-05-02)
===========================

Language
--------
- [Stabilize `#[cfg(target_abi = ...)]`]
  (rust-lang/rust#119590)
- [Stabilize the `#[diagnostic]` namespace and
  `#[diagnostic::on_unimplemented]` attribute]
  (rust-lang/rust#119888)
- [Make async-fn-in-trait implementable with concrete signatures]
  (rust-lang/rust#120103)
- [Make matching on NaN a hard error, and remove the rest of
  `illegal_floating_point_literal_pattern`]
  (rust-lang/rust#116284)
- [static mut: allow mutable reference to arbitrary types, not just
  slices and arrays]
  (rust-lang/rust#117614)
- [Extend `invalid_reference_casting` to include references casting
  to bigger memory layout]
  (rust-lang/rust#118983)
- [Add `non_contiguous_range_endpoints` lint for singleton gaps
  after exclusive ranges]
  (rust-lang/rust#118879)
- [Add `wasm_c_abi` lint for use of older wasm-bindgen versions]
  (rust-lang/rust#117918)
  This lint currently only works when using Cargo.
- [Update `indirect_structural_match` and `pointer_structural_match`
  lints to match RFC]
  (rust-lang/rust#120423)
- [Make non-`PartialEq`-typed consts as patterns a hard error]
  (rust-lang/rust#120805)
- [Split `refining_impl_trait` lint into `_reachable`, `_internal` variants]
  (rust-lang/rust#121720)
- [Remove unnecessary type inference when using associated types
  inside of higher ranked `where`-bounds]
  (rust-lang/rust#119849)
- [Weaken eager detection of cyclic types during type inference]
  (rust-lang/rust#119989)
- [`trait Trait: Auto {}`: allow upcasting from `dyn Trait` to `dyn Auto`]
  (rust-lang/rust#119338)

Compiler
--------

- [Made `INVALID_DOC_ATTRIBUTES` lint deny by default]
  (rust-lang/rust#111505)
- [Increase accuracy of redundant `use` checking]
  (rust-lang/rust#117772)
- [Suggest moving definition if non-found macro_rules! is defined later]
  (rust-lang/rust#121130)
- [Lower transmutes from int to pointer type as gep on null]
  (rust-lang/rust#121282)

Target changes:

- [Windows tier 1 targets now require at least Windows 10]
  (rust-lang/rust#115141)
 - [Enable CMPXCHG16B, SSE3, SAHF/LAHF and 128-bit Atomics in tier 1 Windows]
  (rust-lang/rust#120820)
- [Add `wasm32-wasip1` tier 2 (without host tools) target]
  (rust-lang/rust#120468)
- [Add `wasm32-wasip2` tier 3 target]
  (rust-lang/rust#119616)
- [Rename `wasm32-wasi-preview1-threads` to `wasm32-wasip1-threads`]
  (rust-lang/rust#122170)
- [Add `arm64ec-pc-windows-msvc` tier 3 target]
  (rust-lang/rust#119199)
- [Add `armv8r-none-eabihf` tier 3 target for the Cortex-R52]
  (rust-lang/rust#110482)
- [Add `loongarch64-unknown-linux-musl` tier 3 target]
  (rust-lang/rust#121832)

Refer to Rust's [platform support page][platform-support-doc]
for more information on Rust's tiered platform support.

Libraries
---------

- [Bump Unicode to version 15.1.0, regenerate tables]
  (rust-lang/rust#120777)
- [Make align_offset, align_to well-behaved in all cases]
  (rust-lang/rust#121201)
- [PartialEq, PartialOrd: document expectations for transitive chains]
  (rust-lang/rust#115386)
- [Optimize away poison guards when std is built with panic=abort]
  (rust-lang/rust#100603)
- [Replace pthread `RwLock` with custom implementation]
  (rust-lang/rust#110211)
- [Implement unwind safety for Condvar on all platforms]
  (rust-lang/rust#121768)
- [Add ASCII fast-path for `char::is_grapheme_extended`]
  (rust-lang/rust#121138)

Stabilized APIs
---------------

- [`impl Read for &Stdin`]
  (https://doc.rust-lang.org/stable/std/io/struct.Stdin.html#impl-Read-for-%26Stdin)
- [Accept non `'static` lifetimes for several `std::error::Error`
  related implementations] (rust-lang/rust#113833)
- [Make `impl<Fd: AsFd>` impl take `?Sized`]
  (rust-lang/rust#114655)
- [`impl From<TryReserveError> for io::Error`]
  (https://doc.rust-lang.org/stable/std/io/struct.Error.html#impl-From%3CTryReserveError%3E-for-Error)

These APIs are now stable in const contexts:

- [`Barrier::new()`]
  (https://doc.rust-lang.org/stable/std/sync/struct.Barrier.html#method.new)

Cargo
-----

- [Stabilize lockfile v4](rust-lang/cargo#12852)
- [Respect `rust-version` when generating lockfile]
  (rust-lang/cargo#12861)
- [Control `--charset` via auto-detecting config value]
  (rust-lang/cargo#13337)
- [Support `target.<triple>.rustdocflags` officially]
  (rust-lang/cargo#13197)
- [Stabilize global cache data tracking]
  (rust-lang/cargo#13492)

Misc
----

- [rustdoc: add `--test-builder-wrapper` arg to support wrappers
  such as RUSTC_WRAPPER when building doctests]
  (rust-lang/rust#114651)

Compatibility Notes
-------------------

- [Many unsafe precondition checks now run for user code with debug
  assertions enabled] (rust-lang/rust#120594)
  This change helps users catch undefined behavior in their code,
  though the details of how much is checked are generally not
  stable.
- [riscv only supports split_debuginfo=off for now]
  (rust-lang/rust#120518)
- [Consistently check bounds on hidden types of `impl Trait`]
  (rust-lang/rust#121679)
- [Change equality of higher ranked types to not rely on subtyping]
  (rust-lang/rust#118247)
- [When called, additionally check bounds on normalized function return type]
  (rust-lang/rust#118882)
- [Expand coverage for `arithmetic_overflow` lint]
  (rust-lang/rust#119432)

Internal Changes
----------------

These changes do not affect any public interfaces of Rust, but they represent
significant improvements to the performance or internals of rustc and related
tools.

- [Update to LLVM 18](rust-lang/rust#120055)
- [Build `rustc` with 1CGU on `x86_64-pc-windows-msvc`]
  (rust-lang/rust#112267)
- [Build `rustc` with 1CGU on `x86_64-apple-darwin`]
  (rust-lang/rust#112268)
- [Introduce `run-make` V2 infrastructure, a `run_make_support`
  library and port over 2 tests as example]
  (rust-lang/rust#113026)
- [Windows: Implement condvar, mutex and rwlock using futex]
  (rust-lang/rust#121956)


Version 1.77.0 (2024-03-21)
==========================

- [Reveal opaque types within the defining body for exhaustiveness checking.]
  (rust-lang/rust#116821)
- [Stabilize C-string literals.]
  (rust-lang/rust#117472)
- [Stabilize THIR unsafeck.]
  (rust-lang/rust#117673)
- [Add lint `static_mut_refs` to warn on references to mutable statics.]
  (rust-lang/rust#117556)
- [Support async recursive calls (as long as they have indirection).]
  (rust-lang/rust#117703)
- [Undeprecate lint `unstable_features` and make use of it in the compiler.]
  (rust-lang/rust#118639)
- [Make inductive cycles in coherence ambiguous always.]
  (rust-lang/rust#118649)
- [Get rid of type-driven traversal in const-eval interning]
  (rust-lang/rust#119044),
  only as a [future compatiblity lint]
  (rust-lang/rust#122204) for now.
- [Deny braced macro invocations in let-else.]
  (rust-lang/rust#119062)

Compiler
--------

- [Include lint `soft_unstable` in future breakage reports.]
  (rust-lang/rust#116274)
- [Make `i128` and `u128` 16-byte aligned on x86-based targets.]
  (rust-lang/rust#116672)
- [Use `--verbose` in diagnostic output.]
  (rust-lang/rust#119129)
- [Improve spacing between printed tokens.]
  (rust-lang/rust#120227)
- [Merge the `unused_tuple_struct_fields` lint into `dead_code`.]
  (rust-lang/rust#118297)
- [Error on incorrect implied bounds in well-formedness check]
  (rust-lang/rust#118553),
  with a temporary exception for Bevy.
- [Fix coverage instrumentation/reports for non-ASCII source code.]
  (rust-lang/rust#119033)
- [Fix `fn`/`const` items implied bounds and well-formedness check.]
  (rust-lang/rust#120019)
- [Promote `riscv32{im|imafc}-unknown-none-elf` targets to tier 2.]
  (rust-lang/rust#118704)
- Add several new tier 3 targets:
  - [`aarch64-unknown-illumos`]
    (rust-lang/rust#112936)
  - [`hexagon-unknown-none-elf`]
    (rust-lang/rust#117601)
  - [`riscv32imafc-esp-espidf`]
    (rust-lang/rust#119738)
  - [`riscv32im-risc0-zkvm-elf`]
    (rust-lang/rust#117958)

Refer to Rust's [platform support page][platform-support-doc]
for more information on Rust's tiered platform support.

Libraries
---------

- [Implement `From<&[T; N]>` for `Cow<[T]>`.]
  (rust-lang/rust#113489)
- [Remove special-case handling of `vec.split_off
  (0)`.](rust-lang/rust#119917)

Stabilized APIs
---------------

- [`array::each_ref`]
  (https://doc.rust-lang.org/stable/std/primitive.array.html#method.each_ref)
- [`array::each_mut`]
  (https://doc.rust-lang.org/stable/std/primitive.array.html#method.each_mut)
- [`core::net`]
  (https://doc.rust-lang.org/stable/core/net/index.html)
- [`f32::round_ties_even`]
  (https://doc.rust-lang.org/stable/std/primitive.f32.html#method.round_ties_even)
- [`f64::round_ties_even`]
  (https://doc.rust-lang.org/stable/std/primitive.f64.html#method.round_ties_even)
- [`mem::offset_of!`]
  (https://doc.rust-lang.org/stable/std/mem/macro.offset_of.html)
- [`slice::first_chunk`]
  (https://doc.rust-lang.org/stable/std/primitive.slice.html#method.first_chunk)
- [`slice::first_chunk_mut`]
  (https://doc.rust-lang.org/stable/std/primitive.slice.html#method.first_chunk_mut)
- [`slice::split_first_chunk`]
  (https://doc.rust-lang.org/stable/std/primitive.slice.html#method.split_first_chunk)
- [`slice::split_first_chunk_mut`]
  (https://doc.rust-lang.org/stable/std/primitive.slice.html#method.split_first_chunk_mut)
- [`slice::last_chunk`]
  (https://doc.rust-lang.org/stable/std/primitive.slice.html#method.last_chunk)
- [`slice::last_chunk_mut`]
  (https://doc.rust-lang.org/stable/std/primitive.slice.html#method.last_chunk_mut)
- [`slice::split_last_chunk`]
  (https://doc.rust-lang.org/stable/std/primitive.slice.html#method.split_last_chunk)
- [`slice::split_last_chunk_mut`]
  (https://doc.rust-lang.org/stable/std/primitive.slice.html#method.split_last_chunk_mut)
- [`slice::chunk_by`]
  (https://doc.rust-lang.org/stable/std/primitive.slice.html#method.chunk_by)
- [`slice::chunk_by_mut`]
  (https://doc.rust-lang.org/stable/std/primitive.slice.html#method.chunk_by_mut)
- [`Bound::map`]
  (https://doc.rust-lang.org/stable/std/ops/enum.Bound.html#method.map)
- [`File::create_new`]
  (https://doc.rust-lang.org/stable/std/fs/struct.File.html#method.create_new)
- [`Mutex::clear_poison`]
  (https://doc.rust-lang.org/stable/std/sync/struct.Mutex.html#method.clear_poison)
- [`RwLock::clear_poison`]
  (https://doc.rust-lang.org/stable/std/sync/struct.RwLock.html#method.clear_poison)

Cargo
-----

- [Extend the build directive syntax with `cargo::`.]
  (rust-lang/cargo#12201)
- [Stabilize metadata `id` format as `PackageIDSpec`.]
  (rust-lang/cargo#12914)
- [Pull out as `cargo-util-schemas` as a crate.]
  (rust-lang/cargo#13178)
- [Strip all debuginfo when debuginfo is not requested.]
  (rust-lang/cargo#13257)
- [Inherit jobserver from env for all kinds of runners.]
  (rust-lang/cargo#12776)
- [Deprecate rustc plugin support in cargo.]
  (rust-lang/cargo#13248)

Rustdoc
-----

- [Allows links in markdown headings.]
  (rust-lang/rust#117662)
- [Search for tuples and unit by type with `()`.]
  (rust-lang/rust#118194)
- [Clean up the source sidebar's hide button.]
  (rust-lang/rust#119066)
- [Prevent JS injection from `localStorage`.]
  (rust-lang/rust#120250)

Misc
----

- [Recommend version-sorting for all sorting in style guide.]
  (rust-lang/rust#115046)

Internal Changes
----------------

These changes do not affect any public interfaces of Rust, but they represent
significant improvements to the performance or internals of rustc and related
tools.

- [Add more weirdness to `weird-exprs.rs`.]
  (rust-lang/rust#119028)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
relnotes Marks issues that should be documented in the release notes of the next release. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs Relevant to the library team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.