Skip to content

Commit 48538fb

Browse files
committed
ci: Unstable MC/DC support has been removed in upstream
rust-lang/rust#144999
1 parent 9a02ce6 commit 48538fb

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,13 @@ jobs:
125125
pushd -- tests/fixtures/crates/cargo_config >/dev/null
126126
# TODO: --fail-under-branches?
127127
cargo llvm-cov test --branch --text --fail-under-lines 80
128-
cargo llvm-cov test --mcdc --text --fail-under-lines 80
128+
# TODO: Unstable MC/DC support has been removed in https://github.com/rust-lang/rust/pull/144999
129+
# cargo llvm-cov test --mcdc --text --fail-under-lines 80
129130
popd >/dev/null
130131
pushd -- easytime >/dev/null
131132
cargo llvm-cov test --branch --doctests --text --fail-under-lines 30
132-
cargo llvm-cov test --mcdc --doctests --text --fail-under-lines 30
133+
# TODO: Unstable MC/DC support has been removed in https://github.com/rust-lang/rust/pull/144999
134+
# cargo llvm-cov test --mcdc --doctests --text --fail-under-lines 30
133135
popd >/dev/null
134136
135137
# Test minimum runnable Cargo version.

src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ fn set_env(cx: &Context, env: &mut dyn EnvTarget, IsNextest(is_nextest): IsNexte
203203
}
204204
if cx.args.cov.mcdc {
205205
// Tracking issue: https://github.com/rust-lang/rust/issues/124144
206+
// TODO: Unstable MC/DC support has been removed in https://github.com/rust-lang/rust/pull/144999
206207
flags.push("-Z");
207208
flags.push("coverage-options=mcdc");
208209
} else if cx.args.cov.branch {

0 commit comments

Comments
 (0)