Daniel-Aaron-Bloom
Daniel-Aaron-Bloom
Just putting a +1 on this feature request. My use case is trying to store an [`Arc`](https://docs.rs/solana-client/latest/solana_client/nonblocking/pubsub_client/struct.PubsubClient.html) and an associated `Stream` from one of the functions.
As an alternative, this is presently doable (but a bit painful) with `ouroboros` or similar. ```rust #[ouroboros::self_referencing] struct NotifyOwnedData { data: Arc, #[borrows(data)] #[not_covariant] borrowed: Pin) -> Poll { self.0.with_borrowed_mut(|b|...
You need a little more than just an async block, as your example doesn't call `notified` until the future is polled, which means you lose out on the wake up...
@aptalca any interest in this?
> Bear in mind any change would impact every image we publish and not just code-server. Could you explain what you mean by this? Isn't this change only in the...
Running this on `alpine:latest` and `ubuntu:latest` produces the expected results. ``` find / -path /etc/ -prune -o -print0 | xargs -0 -n 1000 -P $(nproc) echo chown root:root ``` And...
> TL;DR we can't remember, but I think it was an issue with low-powered devices performing very badly with the xargs parallel chowns, especially those with slow storage. Capping the...
I made [this crate](https://github.com/Daniel-Aaron-Bloom/sort-const-rs), and doing that was my motivation. The summary is: now that `&mut` is `const`-compatible, you can make almost everything in `ArrayVec` into a `const fn`. Having...
Do you think this would be better served via a feature-flag?
I've created #296 as an alternative to this with the changes under the feature flag `const`. Instead of `cfg` duplicating the code, I just `cfg` duplicated a macro that basically...