]> git.lizzy.rs Git - rust.git/commit
Use `OutputFilenames` to generate output file for `-Zllvm-time-trace`
authorTomasz Miąsko <tomasz.miasko@gmail.com>
Mon, 13 Dec 2021 00:00:00 +0000 (00:00 +0000)
committerTomasz Miąsko <tomasz.miasko@gmail.com>
Mon, 13 Dec 2021 00:00:00 +0000 (00:00 +0000)
commit379fb40277b18d2d123f6eae215f662bf582a5e3
treee983d10b6cd22c4c8772eee6779d70721e5e692e
parentc6009ca30f13a00a025e0470be23e4d47803198d
Use `OutputFilenames` to generate output file for `-Zllvm-time-trace`

The resulting profile will include the crate name and will be stored in
the `--out-dir` directory.

This implementation makes it convenient to use LLVM time trace together
with cargo, in the contrast to the previous implementation which would
overwrite profiles or store them in `.cargo/registry/..`.
src/lib.rs