-
Rust's [`HashMap`](https://doc.rust-lang.org/std/collections/struct.HashMap.html) and [`BTreeMap`](https://doc.rust-lang.org/std/collections/struct.BTreeMap.html) should be able to be exported to C#, …
-
We should allow the export of non-polymorphic functions.
E.g.:
```
export def doStuff(f: Int32): Int32
```
which would generate a stable Java interface. We will need to specify a lot though…
-
Here is a shortened version of the code I hit this with:
https://play.rust-lang.org/?gist=01e76f65024cbf57bb018547932aaef2&version=stable
The error message is everything but enlightening as to wha…
-
### Code
I've hacked it down from an advent of code solution. When
```Rust
let version = extend_number(0, itr, 3)?;
let type_id = extend_number(0, itr, 3)?;
```
is replaced wi…
-
Today I discovered an unfortunate interaction between axum and http-body.
In axum you're able to write this:
```rust
use axum::{
body::{box_body, Body, BoxBody},
handler::get,
ht…
-
Linking the router takes too much time now, especially when building tests:
![Screenshot from 2023-11-07 12-46-09](https://github.com/apollographql/router/assets/119296/988db5f1-199c-4452-95d7-f0e6…
Geal updated
10 months ago
-
Building https://github.com/jrmuizel/webrender/blob/sample-min/sample-min/src/main.rs ends up generating 12MB of LLVM IR (25MB of LLVM IR with debug info turned on). This seems like an excessive amoun…
-
In current implementation, a `StaticRc` where `NUM` < `DEN`, it will do nothing on `Drop`. It can probably lead to memory leak if a "full" pointer is split up to two, and the two pointers are dropped …
-
Currently this compiles in stable.
```rust
struct Foo(T);
impl Foo {
const BAR: () = if N == 0 {
panic!()
};
}
struct Invoke(T);
impl Invoke {
const FUN: fn() = i…
-
https://doc.rust-lang.org/nightly/nightly-rustc/rustc/ty/layout/trait.FnTypeExt.html