Skip to content
Open
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
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@ jobs:
- run: cargo miri test
env:
# -Zmiri-ignore-leaks is needed because we use detached threads in doctests: https://github.com/rust-lang/miri/issues/1371
# disable preemption due to https://github.com/rust-lang/rust/issues/55005
MIRIFLAGS: -Zmiri-strict-provenance -Zmiri-symbolic-alignment-check -Zmiri-disable-isolation -Zmiri-ignore-leaks -Zmiri-preemption-rate=0
MIRIFLAGS: -Zmiri-strict-provenance -Zmiri-symbolic-alignment-check -Zmiri-disable-isolation -Zmiri-ignore-leaks
RUSTFLAGS: ${{ env.RUSTFLAGS }} -Z randomize-layout

security_audit:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/target
**/*.rs.bk
Cargo.lock
.vscode/
4 changes: 2 additions & 2 deletions src/task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ impl<T, M> Task<T, M> {
/// # Examples
///
/// ```
/// # if cfg!(miri) { return; } // Miri does not support epoll
/// # if cfg!(miri) && !cfg!(target_os = "linux") { return; } // Miri only supports threaded nonblocking logic on linux
/// use smol::{future, Executor, Timer};
/// use std::thread;
/// use std::time::Duration;
Expand Down Expand Up @@ -513,7 +513,7 @@ impl<T, M> FallibleTask<T, M> {
/// # Examples
///
/// ```
/// # if cfg!(miri) { return; } // Miri does not support epoll
/// # if cfg!(miri) && !cfg!(target_os = "linux") { return; } // Miri only supports threaded nonblocking logic on linux
/// use smol::{future, Executor, Timer};
/// use std::thread;
/// use std::time::Duration;
Expand Down
Loading