| author | |
| committer | |
| log | 204e689bdb74c5020a9201d20db976251f122250 |
| tree | 7b452797661601c4a4241637793e5bda716a6a87 |
| parent | 42602dc96bcc0c10d5fe04e24c47f67dd7e27d32 |
11 files changed, 0 insertions(+), 25 deletions(-)
test/link/wasm/archive/build.zig-2| ... | @@ -1,7 +1,5 @@ | ... | @@ -1,7 +1,5 @@ |
| 1 | const std = @import("std"); | 1 | const std = @import("std"); |
| 2 | 2 | ||
| 3 | pub const requires_stage2 = true; | ||
| 4 | |||
| 5 | pub fn build(b: *std.Build) void { | 3 | pub 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 @@ |
| 1 | const std = @import("std"); | 1 | const std = @import("std"); |
| 2 | 2 | ||
| 3 | pub const requires_stage2 = true; | ||
| 4 | |||
| 5 | pub fn build(b: *std.Build) void { | 3 | pub fn build(b: *std.Build) void { |
| 6 | // Library with explicitly set cpu features | 4 | // 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 @@ |
| 1 | const std = @import("std"); | 1 | const std = @import("std"); |
| 2 | 2 | ||
| 3 | pub const requires_stage2 = true; | ||
| 4 | |||
| 5 | pub fn build(b: *std.Build) void { | 3 | pub 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 @@ |
| 1 | const std = @import("std"); | 1 | const std = @import("std"); |
| 2 | 2 | ||
| 3 | pub const requires_stage2 = true; | ||
| 4 | |||
| 5 | pub fn build(b: *std.Build) void { | 3 | pub 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; |
| 8 | 6 | ||
| 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 | } |
| 14 | 9 | ||
| 15 | fn add(b: *std.Build, test_step: *std.Build.Step, optimize: std.builtin.OptimizeMode) void { | 10 | fn 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 @@ |
| 1 | const std = @import("std"); | 1 | const std = @import("std"); |
| 2 | 2 | ||
| 3 | pub const requires_stage2 = true; | ||
| 4 | |||
| 5 | pub fn build(b: *std.Build) void { | 3 | pub 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 @@ |
| 1 | const std = @import("std"); | 1 | const std = @import("std"); |
| 2 | 2 | ||
| 3 | pub const requires_stage2 = true; | ||
| 4 | |||
| 5 | pub fn build(b: *std.Build) void { | 3 | pub fn build(b: *std.Build) void { |
| 6 | // Wasm Object file which we will use to infer the features from | 4 | // 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 @@ |
| 1 | const std = @import("std"); | 1 | const std = @import("std"); |
| 2 | const builtin = @import("builtin"); | 2 | const builtin = @import("builtin"); |
| 3 | 3 | ||
| 4 | pub const requires_stage2 = true; | ||
| 5 | |||
| 6 | pub fn build(b: *std.Build) void { | 4 | pub 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 { |
| 6 | 6 | ||
| 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 | } |
| 12 | 10 | ||
| 13 | fn add(b: *std.Build, test_step: *std.Build.Step, optimize_mode: std.builtin.OptimizeMode) void { | 11 | fn 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 @@ |
| 1 | const std = @import("std"); | 1 | const std = @import("std"); |
| 2 | 2 | ||
| 3 | pub const requires_stage2 = true; | ||
| 4 | |||
| 5 | pub fn build(b: *std.Build) void { | 3 | pub 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 @@ |
| 1 | const std = @import("std"); | 1 | const std = @import("std"); |
| 2 | 2 | ||
| 3 | pub const requires_stage2 = true; | ||
| 4 | |||
| 5 | pub fn build(b: *std.Build) void { | 3 | pub 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 @@ |
| 1 | const std = @import("std"); | 1 | const std = @import("std"); |
| 2 | 2 | ||
| 3 | pub const requires_stage2 = true; | ||
| 4 | |||
| 5 | pub fn build(b: *std.Build) void { | 3 | pub 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; |