diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2021-11-01 17:57:35 +0100 |
|---|---|---|
| committer | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2021-11-01 17:57:35 +0100 |
| commit | 2a0311797cd04305c37faa6f9dafcb0f053a0976 (patch) | |
| tree | 91bd4aaefb3f2d6764cd3b5d461500248324181b /examples | |
| parent | 96ba8f35d496149d4486181b89f4b072759281d4 (diff) | |
Don't run demo's `soa_struct` when under -debug.
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/demo/demo.odin | 11 |
1 files changed, 10 insertions, 1 deletions
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() |