about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-08-17 18:18:19 +0200
committerGitHub <noreply@github.com>2024-08-17 18:18:19 +0200
commit1a95a5f2dbffc3f48e0515fd9bdfa77f2921872b (patch)
treebfc55d0c66c66b7110b7e88d09cb27fac3c5a7fe /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parentddbbda47ebf2a69008f48b9c5e83b615e0e00545 (diff)
parent321d40f060bccd79ea6878abc67bda5d10b65e5f (diff)
downloadrust-1a95a5f2dbffc3f48e0515fd9bdfa77f2921872b.tar.gz
rust-1a95a5f2dbffc3f48e0515fd9bdfa77f2921872b.zip
Rollup merge of #129191 - aDotInTheVoid:rdj-serial-cleanup, r=GuillaumeGomez
rustdoc-json: Clean up serialization and printing.

Somewhat a followup to #128963, but makes sense regardless.

- Renames `out_path` to `out_dir` because it's not the path to the JSON, but the directory
  - Also adds a comment explaining `None`
- Renames `write` to `serialize_and_write` because it does both.
  - Also renames the self-profile activity name to be clear this measures both IO cost and serialization CPU cost
  - Expands the timer to cover flushing
- Renames `output` to `output_crate`, to emphasize it's the contents, not the `--output` flag.

r? `@GuillaumeGomez`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions