Commit 204e689bdb

Andrew Kelley <andrew@ziglang.org>
2025-01-15 06:33:06
tests: remove dead code
1 parent 42602dc
Changed files (11)
test
link
wasm
archive
basic-features
export
extern
function-table
infer-features
producers
shared-memory
stack_pointer
type
standalone
test_runner_path
test/link/wasm/archive/build.zig
@@ -1,7 +1,5 @@
 const std = @import("std");
 
-pub const requires_stage2 = true;
-
 pub fn build(b: *std.Build) void {
     const test_step = b.step("test", "Test it");
     b.default_step = test_step;
test/link/wasm/basic-features/build.zig
@@ -1,7 +1,5 @@
 const std = @import("std");
 
-pub const requires_stage2 = true;
-
 pub fn build(b: *std.Build) void {
     // Library with explicitly set cpu features
     const lib = b.addExecutable(.{
test/link/wasm/export/build.zig
@@ -1,7 +1,5 @@
 const std = @import("std");
 
-pub const requires_stage2 = true;
-
 pub fn build(b: *std.Build) void {
     const test_step = b.step("test", "Test it");
     b.default_step = test_step;
test/link/wasm/extern/build.zig
@@ -1,15 +1,10 @@
 const std = @import("std");
 
-pub const requires_stage2 = true;
-
 pub fn build(b: *std.Build) void {
     const test_step = b.step("test", "Test it");
     b.default_step = test_step;
 
     add(b, test_step, .Debug);
-    add(b, test_step, .ReleaseFast);
-    add(b, test_step, .ReleaseSmall);
-    add(b, test_step, .ReleaseSafe);
 }
 
 fn add(b: *std.Build, test_step: *std.Build.Step, optimize: std.builtin.OptimizeMode) void {
test/link/wasm/function-table/build.zig
@@ -1,7 +1,5 @@
 const std = @import("std");
 
-pub const requires_stage2 = true;
-
 pub fn build(b: *std.Build) void {
     const test_step = b.step("test", "Test it");
     b.default_step = test_step;
test/link/wasm/infer-features/build.zig
@@ -1,7 +1,5 @@
 const std = @import("std");
 
-pub const requires_stage2 = true;
-
 pub fn build(b: *std.Build) void {
     // Wasm Object file which we will use to infer the features from
     const c_obj = b.addObject(.{
test/link/wasm/producers/build.zig
@@ -1,8 +1,6 @@
 const std = @import("std");
 const builtin = @import("builtin");
 
-pub const requires_stage2 = true;
-
 pub fn build(b: *std.Build) void {
     const test_step = b.step("test", "Test it");
     b.default_step = test_step;
test/link/wasm/shared-memory/build.zig
@@ -6,8 +6,6 @@ pub fn build(b: *std.Build) void {
 
     add(b, test_step, .Debug);
     add(b, test_step, .ReleaseFast);
-    add(b, test_step, .ReleaseSmall);
-    add(b, test_step, .ReleaseSafe);
 }
 
 fn add(b: *std.Build, test_step: *std.Build.Step, optimize_mode: std.builtin.OptimizeMode) void {
test/link/wasm/stack_pointer/build.zig
@@ -1,7 +1,5 @@
 const std = @import("std");
 
-pub const requires_stage2 = true;
-
 pub fn build(b: *std.Build) void {
     const test_step = b.step("test", "Test it");
     b.default_step = test_step;
test/link/wasm/type/build.zig
@@ -1,7 +1,5 @@
 const std = @import("std");
 
-pub const requires_stage2 = true;
-
 pub fn build(b: *std.Build) void {
     const test_step = b.step("test", "Test it");
     b.default_step = test_step;
test/standalone/test_runner_path/build.zig
@@ -1,7 +1,5 @@
 const std = @import("std");
 
-pub const requires_stage2 = true;
-
 pub fn build(b: *std.Build) void {
     const test_step = b.step("test", "Test the program");
     b.default_step = test_step;