coverage: llvm-cov expects column numbers to be bytes, not code points

This commit is contained in:
Zalathar
2023-12-15 14:12:46 +11:00
parent 88f5759ace
commit 6971e9332d
5 changed files with 112 additions and 27 deletions

View File

@@ -1,5 +1,5 @@
// edition: 2021
// ignore-mode-coverage-run - `llvm-cov` fails due to incorrectly-split UTF-8
// ignore-windows - we can't force `llvm-cov` to use ANSI escapes on Windows
// llvm-cov-flags: --use-color
// Check that column numbers are denoted in bytes, so that they don't cause