| ... | ... | @@ -13,6 +13,7 @@ comptime { |
| 13 | 13 | _ = @import("cases/bugs/656.zig"); |
| 14 | 14 | _ = @import("cases/cast.zig"); |
| 15 | 15 | _ = @import("cases/const_slice_child.zig"); |
| 16 | _ = @import("cases/coroutines.zig"); |
| 16 | 17 | _ = @import("cases/defer.zig"); |
| 17 | 18 | _ = @import("cases/enum.zig"); |
| 18 | 19 | _ = @import("cases/enum_with_members.zig"); |
| ... | ... | @@ -49,15 +50,4 @@ comptime { |
| 49 | 50 | _ = @import("cases/var_args.zig"); |
| 50 | 51 | _ = @import("cases/void.zig"); |
| 51 | 52 | _ = @import("cases/while.zig"); |
| 52 | | |
| 53 | | |
| 54 | | // LLVM 5.0.1, 6.0.0, and trunk crash when attempting to optimize coroutine code. |
| 55 | | // So, Zig does not support ReleaseFast or ReleaseSafe for coroutines yet. |
| 56 | | // Luckily, Clang users are running into the same crashes, so folks from the LLVM |
| 57 | | // community are working on fixes. If we're really lucky they'll be fixed in 6.0.1. |
| 58 | | // Otherwise we can hope for 7.0.0. |
| 59 | | if (builtin.mode == builtin.Mode.Debug) { |
| 60 | | _ = @import("cases/coroutines.zig"); |
| 61 | | } |
| 62 | | |
| 63 | 53 | } |