zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 14ccbbef9f4e34ed2311b96b771bbb452dccf9dc (tree)
parent dfc0a27090b1f15aae429801cdded14ab0a80595
Author: mlugg <mlugg@mlugg.co.uk>
Date:   Thu, 26 Sep 2024 04:26:18 +0100

test: add x86_64-windows-cbe target to incremental cases

Throw another target in there just to spice things up a little!

Running the incremental cases with the C backend is pretty slow due to
the need to recompile the whole output from scratch on every update; for
this reason, we probably don't want to keep many of these targeting CBE
long-term. However, for now, while we have relatively few tests and
things are still changing quite a lot, it's better to have this little
bit of extra test coverage.

Diffstat:
Mtest/incremental/add_decl | 1+
Mtest/incremental/add_decl_namespaced | 1+
Mtest/incremental/delete_comptime_decls | 1+
Mtest/incremental/hello | 1+
Mtest/incremental/modify_inline_fn | 1+
Mtest/incremental/move_src | 1+
Mtest/incremental/remove_enum_field | 1+
Mtest/incremental/type_becomes_comptime_only | 1+
Mtest/incremental/unreferenced_error | 1+
9 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/test/incremental/add_decl b/test/incremental/add_decl @@ -1,5 +1,6 @@ #target=x86_64-linux-selfhosted #target=x86_64-linux-cbe +#target=x86_64-windows-cbe #update=initial version #file=main.zig const std = @import("std"); diff --git a/test/incremental/add_decl_namespaced b/test/incremental/add_decl_namespaced @@ -1,5 +1,6 @@ #target=x86_64-linux-selfhosted #target=x86_64-linux-cbe +#target=x86_64-windows-cbe #update=initial version #file=main.zig const std = @import("std"); diff --git a/test/incremental/delete_comptime_decls b/test/incremental/delete_comptime_decls @@ -1,5 +1,6 @@ #target=x86_64-linux-selfhosted #target=x86_64-linux-cbe +#target=x86_64-windows-cbe #update=initial version #file=main.zig pub fn main() void {} diff --git a/test/incremental/hello b/test/incremental/hello @@ -1,5 +1,6 @@ #target=x86_64-linux-selfhosted #target=x86_64-linux-cbe +#target=x86_64-windows-cbe #update=initial version #file=main.zig const std = @import("std"); diff --git a/test/incremental/modify_inline_fn b/test/incremental/modify_inline_fn @@ -1,5 +1,6 @@ #target=x86_64-linux-selfhosted #target=x86_64-linux-cbe +#target=x86_64-windows-cbe #update=initial version #file=main.zig const std = @import("std"); diff --git a/test/incremental/move_src b/test/incremental/move_src @@ -1,5 +1,6 @@ #target=x86_64-linux-selfhosted #target=x86_64-linux-cbe +#target=x86_64-windows-cbe #update=initial version #file=main.zig const std = @import("std"); diff --git a/test/incremental/remove_enum_field b/test/incremental/remove_enum_field @@ -1,5 +1,6 @@ #target=x86_64-linux-selfhosted #target=x86_64-linux-cbe +#target=x86_64-windows-cbe #update=initial version #file=main.zig const MyEnum = enum(u8) { diff --git a/test/incremental/type_becomes_comptime_only b/test/incremental/type_becomes_comptime_only @@ -1,5 +1,6 @@ #target=x86_64-linux-selfhosted #target=x86_64-linux-cbe +#target=x86_64-windows-cbe #update=initial version #file=main.zig const SomeType = u32; diff --git a/test/incremental/unreferenced_error b/test/incremental/unreferenced_error @@ -1,5 +1,6 @@ #target=x86_64-linux-selfhosted #target=x86_64-linux-cbe +#target=x86_64-windows-cbe #update=initial version #file=main.zig const std = @import("std");