| author | |
| committer | |
| log | 7a7b944ef8ddc87a89fc4057187213c68a200fb2 |
| tree | 74e7f876e682174d509816ad67b67ccc80c05415 |
| parent | 05671ced91b539c778e663523cc541402a923af5 |
| signature | Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM |
Hermit is a unikernel with no stable syscall ABI; you must link its syscall
library statically to perform syscalls. Due to the way the project's build
system works, that means using Rust/Cargo. As such, it makes essentially zero
sense for Zig to support this target.7 files changed, 0 insertions(+), 29 deletions(-)
lib/compiler/aro/aro/Target.zig-1| ... | ... | @@ -1302,7 +1302,6 @@ pub fn toLLVMTriple(target: *const Target, buf: []u8) []const u8 { |
| 1302 | 1302 | .freestanding => "unknown", |
| 1303 | 1303 | .fuchsia => "fuchsia", |
| 1304 | 1304 | .haiku => "haiku", |
| 1305 | .hermit => "hermit", | |
| 1306 | 1305 | .hurd => "hurd", |
| 1307 | 1306 | .illumos => "illumos", |
| 1308 | 1307 | .ios, .maccatalyst => "ios", |
lib/std/Build/Configuration.zig-1| ... | ... | @@ -2381,7 +2381,6 @@ pub const TargetQuery = struct { |
| 2381 | 2381 | other, |
| 2382 | 2382 | contiki, |
| 2383 | 2383 | fuchsia, |
| 2384 | hermit, | |
| 2385 | 2384 | managarm, |
| 2386 | 2385 | haiku, |
| 2387 | 2386 | hurd, |
lib/std/Target.zig-13| ... | ... | @@ -21,7 +21,6 @@ pub const Os = struct { |
| 21 | 21 | |
| 22 | 22 | contiki, |
| 23 | 23 | fuchsia, |
| 24 | hermit, | |
| 25 | 24 | managarm, |
| 26 | 25 | |
| 27 | 26 | haiku, |
| ... | ... | @@ -180,7 +179,6 @@ pub const Os = struct { |
| 180 | 179 | |
| 181 | 180 | .contiki, |
| 182 | 181 | .fuchsia, |
| 183 | .hermit, | |
| 184 | 182 | |
| 185 | 183 | .rtems, |
| 186 | 184 | |
| ... | ... | @@ -431,12 +429,6 @@ pub const Os = struct { |
| 431 | 429 | .max = .{ .major = 30, .minor = 0, .patch = 0 }, |
| 432 | 430 | }, |
| 433 | 431 | }, |
| 434 | .hermit => .{ | |
| 435 | .semver = .{ | |
| 436 | .min = .{ .major = 0, .minor = 8, .patch = 0 }, | |
| 437 | .max = .{ .major = 0, .minor = 13, .patch = 2 }, | |
| 438 | }, | |
| 439 | }, | |
| 440 | 432 | |
| 441 | 433 | .hurd => .{ |
| 442 | 434 | .hurd = .{ |
| ... | ... | @@ -955,7 +947,6 @@ pub const Abi = enum { |
| 955 | 947 | .ashetos => .eabi, |
| 956 | 948 | |
| 957 | 949 | .contiki, |
| 958 | .hermit, | |
| 959 | 950 | .illumos, |
| 960 | 951 | .managarm, |
| 961 | 952 | .plan9, |
| ... | ... | @@ -2344,7 +2335,6 @@ pub fn requiresLibC(target: *const Target) bool { |
| 2344 | 2335 | .mesa3d, |
| 2345 | 2336 | .contiki, |
| 2346 | 2337 | .amdpal, |
| 2347 | .hermit, | |
| 2348 | 2338 | .hurd, |
| 2349 | 2339 | .wasi, |
| 2350 | 2340 | .uefi, |
| ... | ... | @@ -2495,7 +2485,6 @@ pub const DynamicLinker = struct { |
| 2495 | 2485 | .other, |
| 2496 | 2486 | |
| 2497 | 2487 | .contiki, |
| 2498 | .hermit, | |
| 2499 | 2488 | .managarm, // Needs to be double-checked. |
| 2500 | 2489 | |
| 2501 | 2490 | .plan9, |
| ... | ... | @@ -2929,7 +2918,6 @@ pub const DynamicLinker = struct { |
| 2929 | 2918 | .other, |
| 2930 | 2919 | |
| 2931 | 2920 | .contiki, |
| 2932 | .hermit, | |
| 2933 | 2921 | |
| 2934 | 2922 | .plan9, |
| 2935 | 2923 | .rtems, |
| ... | ... | @@ -3318,7 +3306,6 @@ pub fn cTypeBitSize(target: *const Target, c_type: CType) ?u16 { |
| 3318 | 3306 | }, |
| 3319 | 3307 | |
| 3320 | 3308 | .fuchsia, |
| 3321 | .hermit, | |
| 3322 | 3309 | |
| 3323 | 3310 | .haiku, |
| 3324 | 3311 | .hurd, |
lib/std/c.zig-9| ... | ... | @@ -8024,9 +8024,6 @@ pub const pthread_mutex_t = switch (native_os) { |
| 8024 | 8024 | .freebsd, .dragonfly, .openbsd => extern struct { |
| 8025 | 8025 | inner: ?*anyopaque = null, |
| 8026 | 8026 | }, |
| 8027 | .hermit => extern struct { | |
| 8028 | ptr: usize = maxInt(usize), | |
| 8029 | }, | |
| 8030 | 8027 | .netbsd => extern struct { |
| 8031 | 8028 | magic: u32 = 0x33330003, |
| 8032 | 8029 | errorcheck: padded_pthread_spin_t = 0, |
| ... | ... | @@ -8080,9 +8077,6 @@ pub const pthread_cond_t = switch (native_os) { |
| 8080 | 8077 | .freebsd, .dragonfly, .openbsd => extern struct { |
| 8081 | 8078 | inner: ?*anyopaque = null, |
| 8082 | 8079 | }, |
| 8083 | .hermit => extern struct { | |
| 8084 | ptr: usize = maxInt(usize), | |
| 8085 | }, | |
| 8086 | 8080 | .netbsd => extern struct { |
| 8087 | 8081 | magic: u32 = 0x55550005, |
| 8088 | 8082 | lock: pthread_spin_t = 0, |
| ... | ... | @@ -8138,9 +8132,6 @@ pub const pthread_rwlock_t = switch (native_os) { |
| 8138 | 8132 | .freebsd, .dragonfly, .openbsd => extern struct { |
| 8139 | 8133 | ptr: ?*anyopaque = null, |
| 8140 | 8134 | }, |
| 8141 | .hermit => extern struct { | |
| 8142 | ptr: usize = maxInt(usize), | |
| 8143 | }, | |
| 8144 | 8135 | .netbsd => extern struct { |
| 8145 | 8136 | magic: c_uint = 0x99990009, |
| 8146 | 8137 | interlock: switch (builtin.cpu.arch) { |
lib/std/zig/llvm/Builder.zig-1| ... | ... | @@ -269,7 +269,6 @@ pub fn tripleForTarget(allocator: Allocator, target: *const std.Target) ![]const |
| 269 | 269 | .ps5 => "ps5", |
| 270 | 270 | .mesa3d => "mesa3d", |
| 271 | 271 | .amdpal => "amdpal", |
| 272 | .hermit => "hermit", | |
| 273 | 272 | .hurd => "hurd", |
| 274 | 273 | .wasi => "wasi", |
| 275 | 274 | .emscripten => "emscripten", |
src/link/Elf.zig-1| ... | ... | @@ -1547,7 +1547,6 @@ pub fn writeElfHeader(self: *Elf) !void { |
| 1547 | 1547 | .msp430 => .STANDALONE, |
| 1548 | 1548 | else => switch (target.os.tag) { |
| 1549 | 1549 | .freebsd, .ps4 => .FREEBSD, |
| 1550 | .hermit => .STANDALONE, | |
| 1551 | 1550 | .illumos => .SOLARIS, |
| 1552 | 1551 | .openbsd => .OPENBSD, |
| 1553 | 1552 | else => .NONE, |
test/llvm_targets.zig-3| ... | ... | @@ -7,7 +7,6 @@ const targets = [_]std.Target.Query{ |
| 7 | 7 | .{ .cpu_arch = .aarch64, .os_tag = .freestanding, .abi = .none }, |
| 8 | 8 | .{ .cpu_arch = .aarch64, .os_tag = .fuchsia, .abi = .none }, |
| 9 | 9 | .{ .cpu_arch = .aarch64, .os_tag = .haiku, .abi = .none }, |
| 10 | .{ .cpu_arch = .aarch64, .os_tag = .hermit, .abi = .none }, | |
| 11 | 10 | .{ .cpu_arch = .aarch64, .os_tag = .hurd, .abi = .gnu }, |
| 12 | 11 | .{ .cpu_arch = .aarch64, .os_tag = .ios, .abi = .none }, |
| 13 | 12 | .{ .cpu_arch = .aarch64, .os_tag = .ios, .abi = .simulator }, |
| ... | ... | @@ -230,7 +229,6 @@ const targets = [_]std.Target.Query{ |
| 230 | 229 | .{ .cpu_arch = .riscv64, .os_tag = .freestanding, .abi = .none }, |
| 231 | 230 | .{ .cpu_arch = .riscv64, .os_tag = .fuchsia, .abi = .none }, |
| 232 | 231 | .{ .cpu_arch = .riscv64, .os_tag = .haiku, .abi = .none }, |
| 233 | .{ .cpu_arch = .riscv64, .os_tag = .hermit, .abi = .none }, | |
| 234 | 232 | .{ .cpu_arch = .riscv64, .os_tag = .hurd, .abi = .gnu }, |
| 235 | 233 | .{ .cpu_arch = .riscv64, .os_tag = .linux, .abi = .android }, |
| 236 | 234 | .{ .cpu_arch = .riscv64, .os_tag = .linux, .abi = .gnu }, |
| ... | ... | @@ -326,7 +324,6 @@ const targets = [_]std.Target.Query{ |
| 326 | 324 | .{ .cpu_arch = .x86_64, .os_tag = .dragonfly, .abi = .none }, |
| 327 | 325 | .{ .cpu_arch = .x86_64, .os_tag = .driverkit, .abi = .none }, |
| 328 | 326 | .{ .cpu_arch = .x86_64, .os_tag = .haiku, .abi = .none }, |
| 329 | .{ .cpu_arch = .x86_64, .os_tag = .hermit, .abi = .none }, | |
| 330 | 327 | .{ .cpu_arch = .x86_64, .os_tag = .hurd, .abi = .gnu }, |
| 331 | 328 | .{ .cpu_arch = .x86_64, .os_tag = .illumos, .abi = .none }, |
| 332 | 329 | .{ .cpu_arch = .x86_64, .os_tag = .linux, .abi = .android }, |