diff options
| author | bors <bors@rust-lang.org> | 2021-06-30 13:42:50 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-06-30 13:42:50 +0000 |
| commit | 868c702d0c9a471a28fb55f0148eb1e3e8b1dcc5 (patch) | |
| tree | 2a3a27b47444d5901dd93749737c2fc2baca05b6 /compiler/rustc_codegen_llvm/src/debuginfo/namespace.rs | |
| parent | 5d34076975cd7661dca4e40e0c66a646a78ad091 (diff) | |
| parent | fc273e9bf2ab4594e8dcdb737b63bffb3f6b08c9 (diff) | |
| download | rust-868c702d0c9a471a28fb55f0148eb1e3e8b1dcc5.tar.gz rust-868c702d0c9a471a28fb55f0148eb1e3e8b1dcc5.zip | |
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`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/debuginfo/namespace.rs')
0 files changed, 0 insertions, 0 deletions
