From 2a0311797cd04305c37faa6f9dafcb0f053a0976 Mon Sep 17 00:00:00 2001 From: Jeroen van Rijn Date: Mon, 1 Nov 2021 17:57:35 +0100 Subject: [PATCH] Don't run demo's `soa_struct` when under -debug. --- examples/demo/demo.odin | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/examples/demo/demo.odin b/examples/demo/demo.odin index c287e4054..6a7653b10 100644 --- a/examples/demo/demo.odin +++ b/examples/demo/demo.odin @@ -2439,7 +2439,16 @@ main :: proc() { deprecated_attribute() range_statements_with_multiple_return_values() threading_example() - soa_struct_layout() + + when !ODIN_DEBUG { + /* + This test causes the following error when compiled with -`debug`: + `Kernel32.lib(KERNEL32.dll) : fatal error LNK1103: debugging information corrupt; recompile module` + Only compile when not running under debug for now to not hold up CI for other commits. + */ + soa_struct_layout() + } + constant_literal_expressions() union_maybe() explicit_context_definition()