about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-10-13 18:27:19 +0200
committerGitHub <noreply@github.com>2024-10-13 18:27:19 +0200
commit022b327d86c8e0b4457ed61a0038c13ac12a98b0 (patch)
treed34612871295c242f37e7fa985ad8eb37325f9c7 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent1d0c7cf49fcd826e6f61189adb2dee60c77ebe44 (diff)
parentd3ea0e4e13cfc1e0e2cddd50fd1e165ea131d57c (diff)
downloadrust-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