Alice Ryhl
Alice Ryhl
I'm on debian sid, and my system has no `sudo` command, instead I use `su` or `su -c 'command'` to run commands as root. This is not supported by the...
A new version of clippy reports the following warning: ``` warning: this lifetime isn't used in the impl --> tokio/src/sync/semaphore.rs:634:6 | 634 | impl { | ^^ | = note:...
Currently the JoinHandle waker is stored in the task struct until every ref-count to the task is dropped. Therefore, you can have a ref-cycle if two tasks await each other's...
We need to avoid having #4452 happen again.
This is the current poll method for `tokio::io::copy` and `tokio::io::copy_bidirectional`. https://github.com/tokio-rs/tokio/blob/adad8fc3cdeffb6449edac55558510f4d12c95be/tokio/src/io/util/copy.rs#L28-L76 However, as long as `self.cap < 2048`, it would be possible to attempt to read more data into the...
The following code has UB: ```Rust use futures::future::FutureExt; fn main() { let rt = tokio::runtime::Builder::new_current_thread() .build() .unwrap(); let m = tokio::sync::Mutex::new("foo".to_string()); let lock = rt.block_on(m.lock()); let l2 = m.lock(); tokio::pin!(l2);...
Always call flush on the inner IO resource even if nothing has been written. This is necessary because someone could have written to stdout or stderr via some other object,...
We have considered exposing the combinators of streams as well as `AsyncRead` and such. This issue tracks whether we want to do this, however the general opinion has been that...
I tried compiling the pdf using `make kactl` but the text in the math/geometry part of the pdf is broken as seen below. I am compiling on arch linux with...