diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-10-13 18:27:19 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-13 18:27:19 +0200 |
| commit | 022b327d86c8e0b4457ed61a0038c13ac12a98b0 (patch) | |
| tree | d34612871295c242f37e7fa985ad8eb37325f9c7 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 1d0c7cf49fcd826e6f61189adb2dee60c77ebe44 (diff) | |
| parent | d3ea0e4e13cfc1e0e2cddd50fd1e165ea131d57c (diff) | |
| download | rust-022b327d86c8e0b4457ed61a0038c13ac12a98b0.tar.gz rust-022b327d86c8e0b4457ed61a0038c13ac12a98b0.zip | |
Rollup merge of #130900 - capickett:empty-description-rust-version, r=albertlarsan68
Do not output () on empty description
When passing an explicitly empty description string, as explained here https://github.com/rust-lang/rust/blob/master/config.example.toml#L611-L613, my expectation is that the resulting rustc will be compatible with upstream.
However, it seems that instead, a `()` is added to the end of the version string, causing the version compatibility check to fail. My proposed fix here would be to instead only print `({description})` if `description` is a non-empty string.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
