Skip to content

Commit a350b56

Browse files
youknowoneclaude
andcommitted
Fix: Add --export-prefix to Windows cargo llvm-cov show-env
Without --export-prefix, output is "RUSTFLAGS='...'" not "export RUSTFLAGS='...'" so the regex didn't match. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 57888b2 commit a350b56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ jobs:
276276
if: runner.os != 'Windows'
277277
- name: Set up coverage environment (Windows)
278278
run: |
279-
$output = cargo llvm-cov show-env
279+
$output = cargo llvm-cov show-env --export-prefix
280280
foreach ($line in $output) {
281281
$line = $line.Trim()
282282
if ($line -match "^export\s+([A-Z_]+)='([^']*)'") {

0 commit comments

Comments
 (0)