Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free. Learn more →
Markdown Rust Projects
-
See for example https://github.com/rust-lang/rust/issues/63818 and https://github.com/rust-lang/rfcs/pull/3467
Basically the problem is that async blocks/fns/generators need to create a struct that holds all the local variables within them at any suspension/await/yield point. But local variables can contain references to other local variables, so there are parts of this struct that reference other parts of this struct. This creates two problems:
- once you create such self-references you can no longer move this struct. But moving a struct is safe, so you need some unsafe code that "promises" you this won't happen. `Pin` is a witness of such promise.
- in the memory model having an `&mut` reference to this struct means that it is the only way to access it. But this is no longer true for self referential structs, since there are other ways to access its contents, namely the fields corresponding to those local variables that reference other local variables. This is the problem that's still open.
-
Mergify
Updating dependencies is time-consuming.. Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.
Markdown Rust related posts
- How to go about introducing view models into a large React.JS project without them
- Is it possible to create a default trait implementation in Rust, and then override that trait implementation somewhere else?
- Rust Doesn't Have Named Arguments. So What?
- How to think about `async`/`await` in Rust
- Interview with Senior Rust Developer in 2023
- Introducing the Rust Leadership Council
- Progress on const generics?
-
A note from our sponsor - Mergify
blog.mergify.com | 24 Sep 2023
Index
Project | Stars | |
---|---|---|
1 | rfcs | 5,394 |