about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
author许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2025-03-16 09:40:04 +0800
committerGitHub <noreply@github.com>2025-03-16 09:40:04 +0800
commit199e714a665fad0ca663e026e48ad26913379615 (patch)
tree38cf4973b947a93f044761e23fe471115f59eec5 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent8882dac3425e7ecbb2c1aeff7de48eaa830ae1de (diff)
parent69ef2fc908f79d97c6deeee3e2a220688782a62d (diff)
downloadrust-199e714a665fad0ca663e026e48ad26913379615.tar.gz
rust-199e714a665fad0ca663e026e48ad26913379615.zip
Rollup merge of #137968 - dingxiangfei2009:patch-1, r=Mark-Simulacrum
Properly escape regexes in Python scripts

According to the [Python 3.12 release note](https://docs.python.org/3/whatsnew/3.12.html#other-language-changes) string literals containing typical invalid escape sequences like `"\d"` are now rejected. There seems to remain only two instances of escape sequences in regex. This change will allow us to work with newer Python interpreter.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions