From 52d2ae8af28e79f1ced334dcdbb9c8e9c90deaa8 Mon Sep 17 00:00:00 2001 From: Santiago Date: Fri, 12 Jun 2026 00:30:15 -0300 Subject: [PATCH] chore: raise tx3c compat floor to 0.22.0 tx3c 0.22.0 introduced parametric tuple types: it emits TIR carrying the `Tuple` type/expression variants, a forward-incompatible addition that pre-0.22 readers cannot decode. Raise the built-in COMPAT_MATRIX floor so trix requires a tuple-capable compiler and the TIR it consumes always matches the schema it supports. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/spawn/compat.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/spawn/compat.rs b/src/spawn/compat.rs index 8c60d99..3645048 100644 --- a/src/spawn/compat.rs +++ b/src/spawn/compat.rs @@ -29,11 +29,13 @@ struct Compat { } const COMPAT_MATRIX: &[Compat] = &[ - // 0.18.0 introduced `decode`, `--emit tir-json`, `--diagnostics-format` - // (0.17.0 was cut before that surface existed). + // 0.22.0 introduced parametric tuple types: tx3c now emits TIR carrying the + // `Tuple` type/expression variants, a forward-incompatible addition that + // pre-0.22 readers cannot decode. Pin the floor here so the TIR `trix` + // consumes always matches the schema it supports. Compat { tool: "tx3c", - min: "0.18.0", + min: "0.22.0", }, ];