about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorNoah Lev <camelidcamel@gmail.com>2023-06-24 10:20:52 -0700
committerNoah Lev <camelidcamel@gmail.com>2023-06-24 10:23:46 -0700
commitce326918ec0d66b5460ef343553f2e99f3880283 (patch)
tree504c7edd5211eb84a6d8b859be0dfaa01be0f80c /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent69a63737fa111b366bb3f3254806547d7dd15678 (diff)
downloadrust-ce326918ec0d66b5460ef343553f2e99f3880283.tar.gz
rust-ce326918ec0d66b5460ef343553f2e99f3880283.zip
bootstrap: Backup `settings.json` to the correct filename
The old code actually replaced `.json` with `.bak` (so, `settings.bak`),
rather than appending `.bak` as claimed (`settings.json.bak`).

`Path::set_extension` can instead be used with dots:

> The new extension may contain dots and will be used in its entirety,
> but only the part after the final dot will be reflected in
> self.extension.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions