Repository navigation
Conversation
|
r? @jhpratt rustbot has assigned @jhpratt. Use Why was this reviewer chosen?The reviewer was selected based on:
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Let me know when CI is passing and I'll take a look. |
This comment has been minimized.
This comment has been minimized.
|
@rustbot ready |
|
@bors r+ |
fd-views: AsRef<File>&Co. for BorrowedFd tracking issue: rust-lang#160402 This uses `#[unstable_feature_bound]` so the trait impls are _not_ insta-stable, so no FCP needed yet. But they're infectious to callers which means we currently can't dogfood the added API in std itself.
Rollup of 10 pull requests Successful merges: - #163731 (Add bootstrap step to build the TPDE plugin) - #160404 (fd-views: AsRef<File>&Co. for BorrowedFd) - #161698 (Fix rmeta-link metadata not being read on AIX) - #164016 (Tighten (absence of) return attribute checks in `some-abis-do-extend-params-to-32-bits.rs`) - #164424 (diagnostic: skip wrong loops when explaining borrow errors) - #162444 (Make `std::fs::{File, ReadDir, DirEntry}` always `needs_drop` even when unsupported.) - #163862 (Collect all limit attributes during TyCtxt creation) - #164213 (make the safety documentation consistent in task::LocalWaker) - #164356 (Add missing full stop) - #164374 (core: hint: fix `unlikely`'s example polarity typo)
|
⌛ Testing commit 335e8c8 with merge 0e257b5... Workflow: https://github.com/rust-lang/rust/actions/runs/39019991801 |
|
This pull request was unapproved. This PR was contained in a rollup (#164456), which was unapproved. Auto build was cancelled due to unapproval. Cancelled workflows: |
This comment has been minimized.
This comment has been minimized.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
|
@bors try jobs=test-aarch64-msvc-1 |
This comment has been minimized.
This comment has been minimized.
fd-views: AsRef<File>&Co. for BorrowedFd try-job: test-aarch64-msvc-1
|
fixed the doctest cfgs, no other changes @bors r=jhpratt |
fd-views: AsRef<File>&Co. for BorrowedFd tracking issue: rust-lang#160402 This uses `#[unstable_feature_bound]` so the trait impls are _not_ insta-stable, so no FCP needed yet. But they're infectious to callers which means we currently can't dogfood the added API in std itself.
…uwer Rollup of 19 pull requests Successful merges: - #163664 (Add new `RUSTC_BOOTSTRAP=-allow-unstable-compiler-flags` mode for testing stable compiler behavior in UI tests) - #163668 (Remap syntax contexts and expansion ids for det. metadata encoding) - #160404 (fd-views: AsRef<File>&Co. for BorrowedFd) - #163104 ([debuginfo] Emit `usize` and `isize` as typedefs) - #163317 (Stop useless caching of post-LTO artifact caching for fat LTO) - #163701 (add ReadDir::dir to get the directory handle of the underlying directory) - #164488 (Don't try to skip anything in `Skip::advance_by(0)`) - #164507 (Encode HashMap and HashSet in deterministic order when an encoder requires determinism) - #164611 (Improve bit permutation codegen) - #164612 (std: Combine `is_powerpc64_feature_detected` into `is_powerpc_feature_detected`) - #148842 (Avoid incorrect lifetime suggestion involving `sym::anon`) - #162668 (document that `!` does bitwise and logical negation) - #164264 (lint: suggest `fXX::is_nan` for unsuffixed NaN comparisons) - #164509 (layout invariant: turn delayed bug back into proper assertion) - #164540 (Minor optimizations around macro parsing) - #164594 (rustdoc: Correctly handle inner `deprecated` attribute on modules) - #164595 (Allow attributes in function trait parameters) - #164641 (Stabilize `slice_split_once`) - #164646 (Adjust rustfmt subtree sync docs to not use `--allow-noop` for now)
|
|
This pull request was unapproved. This PR was contained in a rollup (#164658), which was unapproved. |
This comment has been minimized.
This comment has been minimized.
|
Any special-casing of Miri in the standard library requires review. cc @rust-lang/miri |
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
| #[cfg_attr(all(unix, not(miri)), doc = "```")] | ||
| #[cfg_attr( | ||
| any(not(unix), miri), | ||
| doc = "```ignore (needs unix; miri doesn't support metadata on stdio)" | ||
| )] |
There was a problem hiding this comment.
Please add a FIXME pointing to rust-lang/miri#5453, we should support that.
| #[cfg_attr(all(windows, not(miri)), doc = "```no_run")] | ||
| #[cfg_attr( | ||
| any(not(windows), miri), | ||
| doc = "```ignore (needs windows; miri doesn't support metadata on stdio)" | ||
| )] |
There was a problem hiding this comment.
On Windows we should skip most of these tests anyway? Is this one really being executed?
There was a problem hiding this comment.
I don't know, I added it preemptively on the assumption that if it doesn't work on unix+miri it's unlikely to work on windows+miri either.
There was a problem hiding this comment.
Most of the std test suite fails in Miri under Windows, so there's no point in excluding a few tests.
View all comments
tracking issue: #160402
This uses
#[unstable_feature_bound]so the trait impls are not insta-stable, so no FCP needed yet. But they're infectious to callers which means we currently can't dogfood the added API in std itself.