rust/compiler/rustc_mir/src
bors 868c702d0c Auto merge of #86695 - sexxi-goose:closure_size, r=nikomatsakis
Introduce -Zprofile-closures to evaluate the impact of 2229

This creates a CSV with name "closure_profile_XXXXX.csv", where the
variable part is the process id of the compiler.

To profile a cargo project you can run one of the following depending on
if you're compiling a library or a binary:

```
cargo +nightly rustc --lib -- -Zprofile-closures
cargo +nightly rustc --bin {binary_name} -- -Zprofile-closures
```

r? `@nikomatsakis`
2021-06-30 13:42:50 +00:00
..
borrow_check Use HTTPS links where possible 2021-06-23 16:26:46 -04:00
const_eval Move some hard error logic to InterpError 2021-06-16 18:23:34 -04:00
dataflow Add Ty::is_union predicate and use it 2021-06-02 17:09:17 +02:00
interpret Update other codegens to use tcx managed vtable allocations. 2021-06-28 19:39:48 +08:00
monomorphize Introduce -Zprofile-closures to evaluate the impact of 2229 2021-06-28 14:21:55 -04:00
transform Auto merge of #85603 - ogoffart:fix-uninhabited-enum-branching-pass, r=wesleywiser 2021-06-25 15:35:47 +00:00
util Use use_verbose for mir::Constant 2021-06-23 10:39:23 +08:00
lib.rs Add variance-related information to lifetime error messages 2021-06-06 12:37:42 -05:00
shim.rs Prepare mir::Constant for ty::Const only supporting valtrees 2021-03-12 12:43:54 +00:00