-
## 🐛 Bug Description
Rust symbols have hashes in them. Both the old symbol mangling format and the new one.
* old format, demangled: `wee_alloc::alloc_first_fit::h6af2b7fe0cb0a62f`
* new format…
-
[Basically this.](https://users.rust-lang.org/t/improve-compile-time-and-executable-size-by-counting-lines-of-llvm-ir/14203/18?u=dtolnay) For example the instantiations of HashMap::insert could be:
…
-
```rust
#![deny(warnings)]
#[repr(u8)]
#[derive(Copy, Clone, Debug)]
pub enum RecordField {
Target = 1,
Level,
Module,
File,
Line,
NumArgs,
}
unsafe trait Pod {}
#[repr(tran…
-
So, a dynamically sized `Vec`, but still with a max capacity. This would remain heapless, as you can construct the slice on the stack or `static` and pass it in. There are some particular advantages t…
-
Bad.fst:
```
module Bad
open FStar.HyperStack.ST
module HS = FStar.HyperStack
val do_while:
inv:(unit -> GTot Type0) ->
Stack unit (fun _ -> True) (fun _ _ _ -> True)
let rec do_wh…
-
The following fails with an assert in `krml` (see below)
```fstar
module CB = LowStar.ConstBuffer
module U8 = FStar.UInt8
module U32 = FStar.UInt32
inline_for_extraction
type buftype =
…
-
Currently, doing `==` comparison on a recursive datatype ends up forcing both sides to have the same tags, though this is not actually necessary. As a consequence, using `==` on a datatype unnecessari…
-
I tried this code alone:
```rust
trait HasParent {
type Parent: HasParent;
}
struct Visitor
`rustc --version --verbose`:
```
rustc 1.74.0 (79e9716c9 2023-11-13)
binary: rustc
commi…
-
I'm doing some performance analysis on the (long) compilation of the crate `aws-sdk-ec2`, and using this issue to take notes about it.
`rustc +nightly --version`: `rustc 1.81.0-nightly (0c81f94b9 2…
-
We regularly use acronyms and there are plenty of complicated concepts in compilers.
It would be good to have these explained in a central place.