Rollup of 7 pull requests#155824
Closed
JonathanBrouwer wants to merge 33 commits intorust-lang:mainfrom
Closed
Conversation
Also use the `\Device\NamedPipe\` directly instead of the symlink to it.
…tilities to observe, set, and create a Permissions struct with certain file attributes
This version no longer requires using big import libraries and instead uses raw-dylib.
unnamed_socket: do not introduce artifical short reads/writes
…e-short-ops Remove artificial short reads/writes from TCP sockets
Use windows-sys 0.61 in tests
Some architectures, such as RISC-V and LoongArch, lack support for native byte-sized atomic operations, so weak operations fallback to non-weak operations and are actually emulated by LL/SC loop, which never fail.
Use `AtomicUsize` instead of `AtomicBool` to test weak atomic for targets lacking byte-sized atomic
The previously pinned version of openssl-sys is not compatible with OpenSSL 4.0.x. - `openssl-sys`: 0.9.111 -> 0.9.114
This updates the rust-version file to 9836b06.
Pull recent changes from https://github.com/rust-lang/rust via Josh. Upstream ref: rust-lang/rust@9836b06 Filtered ref: rust-lang/miri@9414676 Upstream diff: rust-lang/rust@e22c616...9836b06 This merge was created using https://github.com/rust-lang/josh-sync.
Automatic Rustup
bump openssl-sys to support OpenSSL 4.0.x
…xvar_epi64 Implement `_mm512_permutexvar_epi64` shim
* Suggest enclosing format string under special cases
This commit add suggestions about enclosing format string when it falls
into the following cases: `{}`, `{:?}`, `{:#?}`.
* Add HELP annotations in the UI test
Support fstat on non-file-backed FDs
* Implement core::arch::return_address and tests Fix typo Apply suggestions from code review Wording/docs changes. Co-authored-by: Ralf Jung <post@ralfj.de> Change signature according to Ralf's comment Fix call to `core::intrinsics::return_address()` according to the new signature Add cranelift implementation for intrinsic Change wording on `return_address!()` to be clear that returning a null pointer is best-effort. Fix formatting of doc comment Fix mistake in cranelift codegen * Do not generate llvm.returnaddress on wasm * Supress return_address test on miri
… r=Mark-Simulacrum ACP Implementation of PermissionsExt for Windows This PR implements the `PermissionsExt` for Windows ACP and adds file attribute methods in `FilePermissions` struct (to be decided whether we use them or not). See this [tracking issue](rust-lang#152956 (comment)) for further detail and links. I also added some comments in the code for clarifications about the ACP (e.g. whether we should have a `set_file_attributes()` + `from_file_attributes()` method to mirror what unix's `PermissionsExt` is doing). Also, some relevant links on this: * [File Attribute Constants](https://learn.microsoft.com/en-us/windows/win32/fileio/file-attribute-constants) * [`attrib` command](https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/attrib) * [SetFileAttributesA](https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-setfileattributesa) * [GetFileAttributesA](https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-getfileattributesa) * [Window's File Attributes Column Values](https://superuser.com/questions/44812/windows-explorers-file-attribute-column-values) * [What is the 'M' attribute in Windows file system for?](https://superuser.com/questions/1621649/what-is-the-m-attribute-in-windows-file-system-for) Note: Apologies for the multiple forced push. I haven't set up my Windows VM up yet to compile and check the code, so I've been using the CI to help me with that. r? @ChrisDenton
…-Simulacrum Implement `core::arch::return_address` and tests Tracking issue: rust-lang#154966 Implements libs-team#768
…crum Windows: Cache the pipe filesystem handle Updates the anonymous pipe handling based on feedback from @lhecker (see rust-lang#142517 (comment)). This does two things: 1. Cache the handle to the pipe filesystem so we don't have to reopen it each time. 2. Use the `\Device\NamedPipe\` directly instead of the symlink to it.
miri subtree update Subtree update of `miri` to rust-lang/miri@f3f6dca. Created using https://github.com/rust-lang/josh-sync. r? @ghost
…anilla
Suggest enclosing format string with `""` under special cases
This commit adds suggestions on enclosing format string with `""` when it falls into the following 3 cases: `{}`, `{:?}`, `{:#?}` as mentioned in rust-lang#155508.
Currently, this commit only recognizes the above 3 cases. I wonder if we should generalize this to more cases, for example, appying this suggestion to `Block`s with only 0 or 1 `Stmt`, such as `{:#x}`, `{:^10}`, `{abc}`.
Mention `DEPRECATED_LLVM_INTRINSIC` lint for internal use Since `link_llvm_intrinsics` is an internal feature, having `deprecated_llvm_intrinsic` lint appearing in https://doc.rust-lang.org/nightly/rustc/lints/listing/allowed-by-default.html#deprecated-llvm-intrinsic without mentioning its internal nature is quite confusing to the end users. This PR improves the documentation of recently merged PR rust-lang#140763 that implemented `deprecated_llvm_intrinsic` lint by mentioning the internal nature of `deprecated_llvm_intrinsic` lint and `link_llvm_intrinsics` feature. Tracking issue of unstable `link_llvm_intrinsics` feature: rust-lang#29602
…Brouwer Add default field values to diagnostic FormatArgs This type has a decent amount of unused fields (and I am planning to add more).
Contributor
Author
Contributor
This comment has been minimized.
This comment has been minimized.
rust-bors Bot
pushed a commit
that referenced
this pull request
Apr 26, 2026
Rollup of 7 pull requests try-job: dist-various-1 try-job: test-various try-job: x86_64-gnu-aux try-job: x86_64-gnu-llvm-21-3 try-job: x86_64-msvc-1 try-job: aarch64-apple try-job: x86_64-mingw-1 try-job: i686-msvc-2
Collaborator
|
The job Click to see the possible cause of the failure (guessed by this bot) |
Contributor
|
PR #154972, which is a member of this rollup, was unapproved. This rollup was thus unapproved. |
Contributor
|
💔 Test for 15902ef failed: CI. Failed job:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Successful merges:
core::arch::return_addressand tests #154972 (Implementcore::arch::return_addressand tests)""under special cases #155693 (Suggest enclosing format string with""under special cases)DEPRECATED_LLVM_INTRINSIClint for internal use #155805 (MentionDEPRECATED_LLVM_INTRINSIClint for internal use)r? @ghost
Create a similar rollup