diff options
| author | Arpad Borsos <swatinem@swatinem.de> | 2021-05-14 11:04:48 +0200 |
|---|---|---|
| committer | Arpad Borsos <swatinem@swatinem.de> | 2021-06-14 20:29:21 +0200 |
| commit | 084794ed164199619d9bd6e5422b4feaee4a0a9a (patch) | |
| tree | ef76b4c7c17639357e4da9faaaf5dbd060211f8c /src/test/debuginfo/enum-thinlto.rs | |
| parent | a216131c3566858b78f45ccc0c36b5578f5c5155 (diff) | |
| download | rust-084794ed164199619d9bd6e5422b4feaee4a0a9a.tar.gz rust-084794ed164199619d9bd6e5422b4feaee4a0a9a.zip | |
Avoid possible filename collision in coverage tests
Previously, coverage tests were writing profiler data to files based on their pid. As rustdoc spawns each doctest as its own process, it might be possible in rare cases that a pid is being reused which would cause a file to be overwritten, leading to incorrect coverage results.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions
