Skip to content

make tests work now that we cross-run doctests #96

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

Merged
merged 1 commit into from
May 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ci-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ alloc)
;;
std)
# Modules that we skip because they need a lot of shims we don't support.
SKIP="fs:: net:: process:: sys::pal:: sys::fd::"
SKIP="fs:: net:: process:: sys::fd:: sys::pal::"

# A 64bit little-endian and a 32bit big-endian target,
# as well as targets covering all major OSes and both ABIs on Windows.
Expand Down
12 changes: 12 additions & 0 deletions rust-src.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/library/std/src/io/mod.rs b/library/std/src/io/mod.rs
index 96fac4f6bde..fbb3ea603ab 100644
--- a/library/std/src/io/mod.rs
+++ b/library/std/src/io/mod.rs
@@ -2335,6 +2335,7 @@ pub trait BufRead: Read {
/// #![feature(buf_read_has_data_left)]
/// use std::io;
/// use std::io::prelude::*;
+ /// # if cfg!(all(miri, windows)) { return Ok(()); } // FIXME(miri-windows-file-access)
///
/// let stdin = io::stdin();
/// let mut stdin = stdin.lock();
2 changes: 1 addition & 1 deletion rust-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nightly-2025-05-01
nightly-2025-05-18