Skip to content

Commit 9996a16

Browse files
committed
comments
1 parent 3b76725 commit 9996a16

4 files changed

Lines changed: 0 additions & 16 deletions

File tree

crates/runtime/src/lib.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
#![cfg_attr(not(any(feature = "tokio", feature = "simulation")), no_std)]
2-
3-
//! Runtime and deterministic simulation utilities shared by core and DST.
4-
5-
extern crate alloc;
6-
71
use core::{
82
fmt,
93
future::Future,

crates/runtime/src/sim/executor.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
//! Minimal asynchronous executor adapted from madsim's `sim/task` loop.
2-
31
use alloc::{collections::BTreeMap, sync::Arc, vec::Vec};
42
use core::{
53
fmt,

crates/runtime/src/sim/mod.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
//! Local deterministic simulation runtime.
2-
//!
3-
//! This module is deliberately small, but its executor shape follows madsim's:
4-
//! futures are scheduled as runnable tasks and the ready queue is sampled by a
5-
//! deterministic RNG instead of being driven by a package-level async runtime.
6-
71
pub mod buggify;
82
mod executor;
93
mod rng;

crates/runtime/src/sim/time/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
//! Virtual time for the local simulation runtime.
2-
31
mod sleep;
42

53
use alloc::{collections::BTreeMap, sync::Arc, vec::Vec};

0 commit comments

Comments
 (0)