diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-07-08 18:25:48 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-08 18:25:48 +0530 |
| commit | 1ce8de30871487ee79f26ef1723dd3b21f50ff79 (patch) | |
| tree | 3099bafef3e664a31cc2ef4b6de711fe943ad19f /library/std/src | |
| parent | 1dcff2d5077244f49687ea25070958f23bd9edc6 (diff) | |
| parent | 3164c2aa15a17ddbc4378b375ac822b6fef154b5 (diff) | |
| download | rust-1ce8de30871487ee79f26ef1723dd3b21f50ff79.tar.gz rust-1ce8de30871487ee79f26ef1723dd3b21f50ff79.zip | |
Rollup merge of #98533 - jyn514:drop-tracking-debugging, r=eholk
Add a `-Zdump-drop-tracking-cfg` debugging flag
This is useful for debugging drop-tracking; previously, you had to recompile
rustc from source and manually add a call to `write_graph_to_file`. This
makes the option more discoverable and configurable at runtime.
I also took the liberty of making the labels for the CFG nodes much easier to read:
previously, they looked like `id(2), local_id: 48`, now they look like
```
expr from_config (hir_id=HirId { owner: DefId(0:10 ~ default_struct_update[79f9]::foo), local_id: 2})
```
r? ``@eholk``
Diffstat (limited to 'library/std/src')
0 files changed, 0 insertions, 0 deletions
