-
why is futures so large? It's even bigger than std.
this is with lto, in release mode.
```
$ cargo bloat --release --crates -w -n 0 --full-fn
Finished release [optimized] target(s) in 0.1…
-
There should be a way to create consts, statics and static muts which are partially or fully uninitialized or zeroed.
One way to do this could be to create built-in unsafe generic constants ZEROED an…
-
I need [code page 437](https://en.wikipedia.org/wiki/Code_page_437) encoding/decoding support for exchanging data with applications running inside [DOSBox](https://en.wikipedia.org/wiki/DOSBox), [DOSE…
-
# 页码与行数
- 第169页
- 第10行
---
书中在这里讲到 let other_fn = hello; 这里的类型是fn() {hello} 是这个函数本身的类型而不是函数指针类型, 后面还说到, “传入sum和product函数名之后, 会自动通过模式匹配转换为函数指针类型”
读到这里的时候, 有点不太理解 “函数本身的类型” 和 函数指针类型在rust内的具…
-
The book contains a lot of verbatim output, error messages, etc. which were copied from the cryptol REPL. Much of this text is now out of date. We should make a pass over the book to update all of the…
-
Rust has recently landed LLVM 6.0 support.
On top of this, it has landed support for multiple LLVM toolchains.
The AVR backend as of LLVM 6.0 has all of the patches included in the avr-rust/llvm…
-
# Steps to reproduce
1. Create a new crate with cargo.
2. Add `packed_simd = '0.3.1'` to `Cargo.toml` of the new crate.
3. Build the new crate.
# Actual results
While compiling `packed_simd…
-
It's very useful to have CTFE benchmarked within rustc-perf. But there are some problems with the current benchmarks.
- There are too many: 7 out of 36 benchmarks.
- They have high variation: up to …
-
Also, I also don't know why `StringWriter` is needed.
-
This code:
```rust
#![feature(specialization)]
use std::marker::PhantomData;
struct Foo {
marker: PhantomData
}
trait Trait1 {
type Out;
}
impl Trait1 for () {
type Ou…