Skip to content

Commit 867c733

Browse files
authored
Unrolled build for #150458
Rollup merge of #150458 - RalfJung:miri-doctests, r=bjorn3 fix running stdlib doctests in Miri in CI r? `@bjorn3`
2 parents a1bb910 + a4b4cd5 commit 867c733

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

library/core/src/mem/maybe_dangling.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ use crate::{mem, ptr};
3636
///
3737
/// To fix this we could use `MaybeDangling`:
3838
///
39-
/// ```rust
39+
// FIXME: remove `no_run` once the semantics are actually implemented
40+
/// ```rust,no_run
4041
/// #![feature(maybe_dangling, box_as_ptr)]
4142
/// # use std::alloc::{dealloc, Layout};
4243
/// # use std::mem::{self, MaybeDangling};

src/bootstrap/mk/Makefile.in

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,15 @@ check-aux:
5656
# Run standard library tests in Miri.
5757
$(Q)MIRIFLAGS="-Zmiri-strict-provenance" \
5858
$(BOOTSTRAP) miri --stage 2 \
59-
library/coretests \
60-
library/alloctests \
59+
library/core \
6160
library/alloc \
6261
$(BOOTSTRAP_ARGS) \
6362
--no-doc
6463
# Some doctests use file system operations to demonstrate dealing with `Result`,
6564
# so we have to run them with isolation disabled.
6665
$(Q)MIRIFLAGS="-Zmiri-disable-isolation" \
6766
$(BOOTSTRAP) miri --stage 2 \
68-
library/coretests \
69-
library/alloctests \
67+
library/core \
7068
library/alloc \
7169
$(BOOTSTRAP_ARGS) \
7270
--doc

0 commit comments

Comments
 (0)