Sun Guangda

Results 6 issues of Sun Guangda

Code for reproduce: ```Rust use std::{ cell::RefCell, thread::{self, sleep}, time::{Duration, Instant}, }; use async_task::{Runnable, Task}; use futures::{channel::mpsc, Future, StreamExt}; thread_local! { static RUNNABLE_LIST: RefCell = RefCell::new(Vec::new()); } fn poll_once() ->...

This is an early-staged, ongoing effort to support deterministic simulated execution run tests. I would like to hear about comments before moving on, e.g., whether this feature is expected and...

enhancement

Your issue may already be reported! Please search on the [Actix Web issue tracker](https://github.com/actix/actix-web/issues) before creating one. ## Expected Behavior Not really sure whether I am using `awc::Client` in correct...

```rust fn main() { let ch0 = flume::bounded(0); let ch1 = flume::unbounded(); let _0 = ch0.0.clone(); let _1 = ch1.0.clone(); let t0 = std::thread::spawn(move || { tokio::runtime::Builder::new_current_thread() .build() .unwrap() .block_on(async...

The `default` profile including tools for formatting and linting, which are essential to development. Also update Dockerfile. Previously it was based on Rust's official docker image which is hardcoded to...

I tried this code: ```rust trait Foo { type Bar

bug
a-comments
C-bug
needs-triage