-
There are a lot of things we can do in the longer term to help this. We can split out the crates into multiple separate crates like `psbt`, `interpreter`, `descriptor` and `policy`. This would reduce …
-
I was fluffing around with different generic stuff and ended up enabling the Next-gen solver, where I realized that it looked like Generic Const Expressions just don't work at all.
This code seems …
-
`Box` works like this: We have some code, `code`, which represents some function body. When we write a function such as
```Haskell
f x = code
```
when we evaluate `f x`, we get a hold of the state…
-
Given code like:
```rust
pub fn f(v: Option, k: Option) -> u32{
v.unwrap() + k.unwrap()
}
```
Rust generates
```asm
example::f:
push rax
test edi, edi
j…
-
I am exporting some boogie files from some Dafny code.
I noticed that for some of them (attached in the zip file):
they terminate properly if `/prune` is not turned on,
but they do not seem to ter…
-
I wanted to put together a more technical list of issues to be solved before we can stabilize (see rust-lang/rust#86656).
There are many more important issues like performance on some targets, or i…
-
We need to ensure that output ports of a component and all bundle locations have exactly one assignment to them (are linear). The former isn't super hard but we'd probably need more machinery to encod…
-
Currently, we're limited to the general-purpose `Eq`, `Ord`, `Hash`, `Encodable` and `Decodable` traits, even though the compiler often has more unconventional desires, involving contexts and custom b…
eddyb updated
4 years ago
-
```rust
#![feature(generic_associated_types)]
trait Foo {
type In(std::marker::PhantomData fn(Simple) {
// compiles.
}
fn somefn_gat(f: for) -> T::In src/main.rs:13:51
|
13 | fn…
-
I'm trying to implement a `triples` program (pasted at the end) that's similar to this one https://github.com/koka-lang/libmprompt/blob/main/test/src/triples.c
This program can be compiled to ml wi…