From dcbd5ad1553c5994353de47babc0e07e02153bd8 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Mon, 2 Dec 2019 12:01:49 -0500 Subject: remove upstream support for Zen hobby OS The new plan to support hobby operating systems is #3784. And what kind of name is "Zen" anyway? There's already a [Zen programming language](http://zenlang.sourceforge.net/) and that's just confusing. --- lib/std/os.zig | 3 --- lib/std/target.zig | 2 -- 2 files changed, 5 deletions(-) (limited to 'lib/std') diff --git a/lib/std/os.zig b/lib/std/os.zig index c06c1dedf5..66a5522ac1 100644 --- a/lib/std/os.zig +++ b/lib/std/os.zig @@ -31,7 +31,6 @@ pub const linux = @import("os/linux.zig"); pub const uefi = @import("os/uefi.zig"); pub const wasi = @import("os/wasi.zig"); pub const windows = @import("os/windows.zig"); -pub const zen = @import("os/zen.zig"); comptime { assert(@import("std") == std); // std lib tests require --override-lib-dir @@ -45,7 +44,6 @@ test "" { _ = uefi; _ = wasi; _ = windows; - _ = zen; _ = @import("os/test.zig"); } @@ -59,7 +57,6 @@ pub const system = if (builtin.link_libc) std.c else switch (builtin.os) { .dragonfly => dragonfly, .wasi => wasi, .windows => windows, - .zen => zen, else => struct {}, }; diff --git a/lib/std/target.zig b/lib/std/target.zig index 685533f67e..cdabf7448d 100644 --- a/lib/std/target.zig +++ b/lib/std/target.zig @@ -45,7 +45,6 @@ pub const Target = union(enum) { hurd, wasi, emscripten, - zen, uefi, }; @@ -432,7 +431,6 @@ pub const Target = union(enum) { .mesa3d, .contiki, .amdpal, - .zen, .hermit, => return .eabi, .openbsd, -- cgit v1.2.3