diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2021-11-01 17:59:24 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-01 17:59:24 +0100 |
| commit | 4f0a3eec24457ec112094a9517cbd9e5cac91e10 (patch) | |
| tree | 91bd4aaefb3f2d6764cd3b5d461500248324181b /examples | |
| parent | 46e2b4e936a27631fa1f84fb627a59d9e876fbb1 (diff) | |
| parent | 2a0311797cd04305c37faa6f9dafcb0f053a0976 (diff) | |
Merge pull request #1263 from Kelimion/ci_build_debug
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() |