-
### What's this?
For a long time, we've been trickling support into the standard library for detecting at runtime calls to unsafe functions that violate their documented preconditions. These checks…
-
It's great that `ManuallyDrop` helps people do the right thing by pre-leaking things they plan to move elsewhere, helping to avoid double-free issues.
But unfortunately `ManuallyDrop::new` gets cod…
-
I've been working on a [compiler project](https://crates.io/crates/kaze) to be able to describe digital logic in rust. This logic can be compiled to Verilog for use on FPGA or in silicon, and in o…
-
Some thoughts about potential crate organization options. First, the current organization roughly looks like this:
![image](https://user-images.githubusercontent.com/43513081/204745021-f1d9fd7f-2fa…
-
### Aim
```rs
fn main() {
let x: [Field; 1] = [1];
foo(x);
}
fn foo(_a: [Field; N]) -> [Field; N - 2] {
std::mem::zeroed()
}
```
### Expected Behavior
A type error that `N - 2…
-
(As observed on `rustc 1.40.0-nightly (4a8c5b20c 2019-10-23)` targeting `thumbv7em-none-eabihf`; CC @tmandry)
I'm making my first aggressive use of `async fn` in an application. It's a deeply-embed…
-
### Related Component
compiler
### Problem
The following code generates a compiler error:
```
// @dev - tick for price of 2^-128
const MIN_TICK: I24 = I24::from_neg(887272);
// @dev - tic…
-
Unit structs are desirable for various reasons; one of them is to allow dynamically choosing, via trait objects, between implementations of functions that don't inherently require a self argument. In…
comex updated
8 years ago
-
I tried this code:
https://github.com/Zannick/logic-graph/tree/24989d291cd65aa2ba0c22d717ca179a39aeeced/games/AxiomVerge2
Apologies, this is generated code implementing traits for a library in t…
-
I want to open this issue to share my vision about the future of testing for Val compiler.
First, I want to distinguish between 3 categories of tests:
1. Unit tests of Swift components
2. Integra…