-
If you make a self-referential structs in flatbuffers, it still compiles, but outputs invalid code:
```flatbuffers
struct Foo {
x: uint64;
inner_foo: Foo;
}
table Root {
foo: Foo;
}
…
-
Turns out that stacked borrows and self-referential generators don't go well together. This code fails in Miri:
```rust
#![feature(generators, generator_trait)]
use std::{
ops::{Generator, G…
-
Most crates that allow self-referential structs are unsound. See https://github.com/Voultapher/self_cell/pull/41 for a list of crates and issues.
We have advisories for Ourouboros (RUSTSEC-2023-004…
-
## There are still some style directions relating to structs which have no consensus. Those can be found at issue #212
### 1. All structs must have a corresponding typedef. The `typedef` must be d…
-
This is an admittedly unusual pattern, but caused an allocation regression from 1.6 to 1.7 in code I'm working.
On 1.6 these two structs are identical in their generated code, in 1.7 `B` is boxed.
…
-
I'm trying to build serde's internal representation directly, and there doesn't seem to be a way to do that via `serde`, thus far, i've been constructing a proxy for that via using `serde_json` types …
-
Tool Versions
CONTROLLER_TOOLS_VERSION ?= v0.15.0
This is my currect CRD definition structure,
```
// RateLimitConfigSpec defines the desired state of RateLimitConfig
type RateLimitConfigSpec…
-
### Zig Version
0.11.0-dev.3987+2896266a0
### Steps to Reproduce and Observed Behavior
When trying to make a simple tree, the compiler throws **"error: cannot resolve inferred error set"** when usi…
-
I have some code written in C++ that I've been porting to rust, and one of the components of that code is rendering audio and video using SDL2. I have had one hell of a time porting this code, and won…
ghost updated
3 years ago
-
Changelog: https://github.com/smol-rs/async-channel/blob/master/CHANGELOG.md#version-200
Bumping the dependency manually causes the following errors:
```txt
cargo test --features vendored-ssl
…