From dd6b5c2909d3deccb6aabcb665de07c819411094 Mon Sep 17 00:00:00 2001 From: "@brodycj - C. Jonathan Brody" Date: Fri, 13 Sep 2024 14:36:05 -0400 Subject: [PATCH] ci: fix TEST_BETA with TEMPORARY WORKAROUND in RUSTFLAGS --- xtask/src/main.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xtask/src/main.rs b/xtask/src/main.rs index e8b5dde..36d86e4 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -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()?; }