authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2025-01-14 21:33:06-08:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2025-01-15 15:11:37-08:00
log204e689bdb74c5020a9201d20db976251f122250
tree7b452797661601c4a4241637793e5bda716a6a87
parent42602dc96bcc0c10d5fe04e24c47f67dd7e27d32

tests: remove dead code


11 files changed, 0 insertions(+), 25 deletions(-)

test/link/wasm/archive/build.zig-2
...@@ -1,7 +1,5 @@...@@ -1,7 +1,5 @@
1const std = @import("std");1const std = @import("std");
22
3pub const requires_stage2 = true;
4
5pub fn build(b: *std.Build) void {3pub fn build(b: *std.Build) void {
6 const test_step = b.step("test", "Test it");4 const test_step = b.step("test", "Test it");
7 b.default_step = test_step;5 b.default_step = test_step;
test/link/wasm/basic-features/build.zig-2
...@@ -1,7 +1,5 @@...@@ -1,7 +1,5 @@
1const std = @import("std");1const std = @import("std");
22
3pub const requires_stage2 = true;
4
5pub fn build(b: *std.Build) void {3pub fn build(b: *std.Build) void {
6 // Library with explicitly set cpu features4 // Library with explicitly set cpu features
7 const lib = b.addExecutable(.{5 const lib = b.addExecutable(.{
test/link/wasm/export/build.zig-2
...@@ -1,7 +1,5 @@...@@ -1,7 +1,5 @@
1const std = @import("std");1const std = @import("std");
22
3pub const requires_stage2 = true;
4
5pub fn build(b: *std.Build) void {3pub fn build(b: *std.Build) void {
6 const test_step = b.step("test", "Test it");4 const test_step = b.step("test", "Test it");
7 b.default_step = test_step;5 b.default_step = test_step;
test/link/wasm/extern/build.zig-5
...@@ -1,15 +1,10 @@...@@ -1,15 +1,10 @@
1const std = @import("std");1const std = @import("std");
22
3pub const requires_stage2 = true;
4
5pub fn build(b: *std.Build) void {3pub fn build(b: *std.Build) void {
6 const test_step = b.step("test", "Test it");4 const test_step = b.step("test", "Test it");
7 b.default_step = test_step;5 b.default_step = test_step;
86
9 add(b, test_step, .Debug);7 add(b, test_step, .Debug);
10 add(b, test_step, .ReleaseFast);
11 add(b, test_step, .ReleaseSmall);
12 add(b, test_step, .ReleaseSafe);
13}8}
149
15fn add(b: *std.Build, test_step: *std.Build.Step, optimize: std.builtin.OptimizeMode) void {10fn add(b: *std.Build, test_step: *std.Build.Step, optimize: std.builtin.OptimizeMode) void {
test/link/wasm/function-table/build.zig-2
...@@ -1,7 +1,5 @@...@@ -1,7 +1,5 @@
1const std = @import("std");1const std = @import("std");
22
3pub const requires_stage2 = true;
4
5pub fn build(b: *std.Build) void {3pub fn build(b: *std.Build) void {
6 const test_step = b.step("test", "Test it");4 const test_step = b.step("test", "Test it");
7 b.default_step = test_step;5 b.default_step = test_step;
test/link/wasm/infer-features/build.zig-2
...@@ -1,7 +1,5 @@...@@ -1,7 +1,5 @@
1const std = @import("std");1const std = @import("std");
22
3pub const requires_stage2 = true;
4
5pub fn build(b: *std.Build) void {3pub fn build(b: *std.Build) void {
6 // Wasm Object file which we will use to infer the features from4 // Wasm Object file which we will use to infer the features from
7 const c_obj = b.addObject(.{5 const c_obj = b.addObject(.{
test/link/wasm/producers/build.zig-2
...@@ -1,8 +1,6 @@...@@ -1,8 +1,6 @@
1const std = @import("std");1const std = @import("std");
2const builtin = @import("builtin");2const builtin = @import("builtin");
33
4pub const requires_stage2 = true;
5
6pub fn build(b: *std.Build) void {4pub fn build(b: *std.Build) void {
7 const test_step = b.step("test", "Test it");5 const test_step = b.step("test", "Test it");
8 b.default_step = test_step;6 b.default_step = test_step;
test/link/wasm/shared-memory/build.zig-2
...@@ -6,8 +6,6 @@ pub fn build(b: *std.Build) void {...@@ -6,8 +6,6 @@ pub fn build(b: *std.Build) void {
66
7 add(b, test_step, .Debug);7 add(b, test_step, .Debug);
8 add(b, test_step, .ReleaseFast);8 add(b, test_step, .ReleaseFast);
9 add(b, test_step, .ReleaseSmall);
10 add(b, test_step, .ReleaseSafe);
11}9}
1210
13fn add(b: *std.Build, test_step: *std.Build.Step, optimize_mode: std.builtin.OptimizeMode) void {11fn add(b: *std.Build, test_step: *std.Build.Step, optimize_mode: std.builtin.OptimizeMode) void {
test/link/wasm/stack_pointer/build.zig-2
...@@ -1,7 +1,5 @@...@@ -1,7 +1,5 @@
1const std = @import("std");1const std = @import("std");
22
3pub const requires_stage2 = true;
4
5pub fn build(b: *std.Build) void {3pub fn build(b: *std.Build) void {
6 const test_step = b.step("test", "Test it");4 const test_step = b.step("test", "Test it");
7 b.default_step = test_step;5 b.default_step = test_step;
test/link/wasm/type/build.zig-2
...@@ -1,7 +1,5 @@...@@ -1,7 +1,5 @@
1const std = @import("std");1const std = @import("std");
22
3pub const requires_stage2 = true;
4
5pub fn build(b: *std.Build) void {3pub fn build(b: *std.Build) void {
6 const test_step = b.step("test", "Test it");4 const test_step = b.step("test", "Test it");
7 b.default_step = test_step;5 b.default_step = test_step;
test/standalone/test_runner_path/build.zig-2
...@@ -1,7 +1,5 @@...@@ -1,7 +1,5 @@
1const std = @import("std");1const std = @import("std");
22
3pub const requires_stage2 = true;
4
5pub fn build(b: *std.Build) void {3pub fn build(b: *std.Build) void {
6 const test_step = b.step("test", "Test the program");4 const test_step = b.step("test", "Test the program");
7 b.default_step = test_step;5 b.default_step = test_step;