From f25e5a89f00bcecacee4f09901d5cfdc1be341c6 Mon Sep 17 00:00:00 2001 From: Ellie Hermaszewska Date: Tue, 22 Jul 2025 20:32:02 +0800 Subject: Add CI to check ir module versioning (#7821) --- source/slang/slang-ir.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source') diff --git a/source/slang/slang-ir.h b/source/slang/slang-ir.h index 0f4da4f0d..1f6418036 100644 --- a/source/slang/slang-ir.h +++ b/source/slang/slang-ir.h @@ -2409,6 +2409,7 @@ public: // const static UInt k_minSupportedModuleVersion = 1; const static UInt k_maxSupportedModuleVersion = 1; + static_assert(k_minSupportedModuleVersion <= k_maxSupportedModuleVersion); private: friend struct IRSerialReadContext; -- cgit v1.2.3