diff options
| author | Jakub Beránek <jakub.beranek@vsb.cz> | 2024-07-04 10:10:30 +0200 |
|---|---|---|
| committer | Jakub Beránek <jakub.beranek@vsb.cz> | 2024-07-04 10:10:30 +0200 |
| commit | c198c0e6d0556cec74d10aec998f4e229137c701 (patch) | |
| tree | 17d7a825ce20a31db0bdf59cf006b8e450b877b7 /compiler/rustc_mir_transform/src/coverage/query.rs | |
| parent | 54952b444566956b12058162eae383c692da0147 (diff) | |
| download | rust-c198c0e6d0556cec74d10aec998f4e229137c701.tar.gz rust-c198c0e6d0556cec74d10aec998f4e229137c701.zip | |
Do not consider LLDB version to be valid if it is empty
When dry run is enabled, the command for finding LLDB version would succeed, but return an empty string. This was inadvertently enabling a code path that should only be executed when the LLDB is actually present and its version is valid. This commit makes sure that if the version is empty, LLDB will be considered not found.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/query.rs')
0 files changed, 0 insertions, 0 deletions
