Skip to content

Commit

Permalink
ci: fix TEST_BETA with TEMPORARY WORKAROUND in RUSTFLAGS
Browse files Browse the repository at this point in the history
brodycj committed Sep 13, 2024
1 parent 7317eae commit dd6b5c2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions xtask/src/main.rs
Original file line number Diff line number Diff line change
@@ -43,6 +43,11 @@ fn main() -> xshell::Result<()> {
{
let _s = section("TEST_BETA");
let _e = push_toolchain(&sh, "beta")?;
// TEMPORARY WORKAROUND for Rust compiler issue ref:
// - https://github.com/rust-lang/rust/issues/129352
// - https://github.com/matklad/once_cell/issues/261
let _e = sh.push_env("RUSTFLAGS", "-A unreachable_patterns");

cmd!(sh, "cargo test --features unstable").run()?;
}

0 comments on commit dd6b5c2

Please sign in to comment.