mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
tests: remove dead code
This commit is contained in:
parent
42602dc96b
commit
204e689bdb
@ -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;
|
||||
|
||||
@ -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(.{
|
||||
|
||||
@ -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;
|
||||
|
||||
5
test/link/wasm/extern/build.zig
vendored
5
test/link/wasm/extern/build.zig
vendored
@ -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 {
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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(.{
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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 {
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user