zig/lib/std
Alex Rønne Petersen dba1bf9353 remove all Oracle Solaris support
There is no straightforward way for the Zig team to access the Solaris system
headers; to do this, one has to create an Oracle account, accept their EULA to
download the installer ISO, and finally install it on a machine or VM. We do not
have to jump through hoops like this for any other OS that we support, and no
one on the team has expressed willingness to do it.

As a result, we cannot audit any Solaris contributions to std.c or other
similarly sensitive parts of the standard library. The best we would be able to
do is assume that Solaris and illumos are 100% compatible with no way to verify
that assumption. But at that point, the solaris and illumos OS tags would be
functionally identical anyway.

For Solaris especially, any contributions that involve APIs introduced after the
OS was made closed-source would also be inherently more risky than equivalent
contributions for other proprietary OSs due to the case of Google LLC v. Oracle
America, Inc., wherein Oracle clearly demonstrated its willingness to pursue
legal action against entities that merely copy API declarations.

Finally, Oracle laid off most of the Solaris team in 2017; the OS has been in
maintenance mode since, presumably to be retired completely sometime in the 2030s.

For these reasons, this commit removes all Oracle Solaris support.

Anyone who still wishes to use Zig on Solaris can try their luck by simply using
illumos instead of solaris in target triples - chances are it'll work. But there
will be no effort from the Zig team to support this use case; we recommend that
people move to illumos instead.
2025-10-27 07:35:38 -07:00
..
Build compiler: rename --test-timeout-ms to --test-timeout 2025-10-18 09:28:43 +01:00
builtin std.Target: add tags and info for alpha, hppa, microblaze, sh 2025-10-23 09:27:17 +02:00
c remove all Oracle Solaris support 2025-10-27 07:35:38 -07:00
compress add deflate compression, simplify decompression 2025-09-30 18:28:47 -07:00
crypto remove all Oracle Solaris support 2025-10-27 07:35:38 -07:00
debug remove all Oracle Solaris support 2025-10-27 07:35:38 -07:00
dwarf fix compiler ftbfs from std.macho and std.dwarf changes 2025-09-30 13:44:51 +01:00
fmt std.fmt: breaking API changes 2025-07-07 22:43:51 -07:00
fs remove all Oracle Solaris support 2025-10-27 07:35:38 -07:00
hash Remove usages of deprecatedWriter 2025-09-18 22:39:33 -07:00
heap std.Build.Step.Run: many enhancements 2025-10-18 09:28:41 +01:00
http fix read of undefined in http tests 2025-10-06 06:54:52 +02:00
Io std.Io.Reader: rework peekDelimiterInclusive 2025-10-08 19:30:36 -07:00
json Merge pull request #25302 from ziglang/growCapacity 2025-09-21 04:55:39 -07:00
math Coff: implement threadlocal variables 2025-10-10 22:47:47 -07:00
mem std.mem.Allocator: fix resize doc comment 2025-10-22 11:41:16 +02:00
meta std: eradicate u29 and embrace std.mem.Alignment 2025-04-13 02:20:32 -04:00
net std.net.Ip6Address: format numerical scope id 2025-09-15 10:45:35 +01:00
os std.os.linux.tls: add hppa support 2025-10-23 09:27:17 +02:00
posix remove all Oracle Solaris support 2025-10-27 07:35:38 -07:00
process replaced https://simonsapin.github.io/wtf-8/ with https://wtf-8.codeberg.page/ 2025-10-10 23:53:00 +02:00
Random Remove usages of deprecatedWriter 2025-09-18 22:39:33 -07:00
sort std.sort.pdq: fix out-of-bounds access in partialInsertionSort (#25253) 2025-09-17 19:54:15 -07:00
tar std.Io: delete GenericReader 2025-08-29 17:14:26 -07:00
Target std.Target: adjustments to LoongArch CPU models 2025-09-18 12:42:24 +02:00
testing fix compile errors and minor bugs 2025-09-30 13:44:54 +01:00
Thread std: make RwLock test less intensive 2025-10-18 09:28:43 +01:00
time
tz
unicode Remove usages of deprecatedWriter 2025-09-18 22:39:33 -07:00
valgrind Remove numerous things deprecated during the 0.14 release cycle 2025-07-11 08:17:43 +02:00
zig remove all Oracle Solaris support 2025-10-27 07:35:38 -07:00
zon coerce vectors to arrays rather than inline for 2025-09-20 18:33:00 -07:00
array_hash_map.zig Coff2: create a new linker from scratch 2025-10-02 17:44:52 -04:00
array_list.zig std.ArrayList: swapRemove set removed element to undefined (#25514) 2025-10-11 19:04:32 -07:00
ascii.zig std.fmt: delete deprecated APIs 2025-08-31 12:49:18 -07:00
atomic.zig std.atomic: define cache line size for alpha, hppa, microblaze, sh 2025-10-23 09:27:17 +02:00
base64.zig std.Io: delete GenericWriter 2025-08-28 18:30:57 -07:00
bit_set.zig std.bit_set: Disable IntegerBitSet decltest on RISC-V with vector support 2025-07-01 23:03:15 +02:00
BitStack.zig std.ArrayList: make unmanaged the default 2025-08-11 15:52:49 -07:00
buf_map.zig
buf_set.zig
Build.zig std.Build: do not expect server protocol for tests using immature backends 2025-10-18 09:28:42 +01:00
builtin.zig std.builtin: move AddressSpace.Context to std.Target.AddressSpaceContext 2025-10-23 09:27:17 +02:00
c.zig remove all Oracle Solaris support 2025-10-27 07:35:38 -07:00
coff.zig Coff: implement threadlocal variables 2025-10-10 22:47:47 -07:00
compress.zig std.compress: rework flate to new I/O API 2025-07-31 22:10:11 -07:00
crypto.zig std.crypto: add AES-CCM and CBC-MAC (#25526) 2025-10-14 12:00:44 +02:00
debug.zig remove all Oracle Solaris support 2025-10-27 07:35:38 -07:00
deque.zig std: remove loop from growCapacity 2025-09-20 14:34:18 -07:00
DoublyLinkedList.zig
dwarf.zig
dynamic_library.zig remove all Oracle Solaris support 2025-10-27 07:35:38 -07:00
elf.zig std: fix 32-bit build and some unsafe casts 2025-09-30 13:44:53 +01:00
enums.zig std.enums: fix EnumIndexer branch quota 2025-07-31 22:10:22 +01:00
fmt.zig std.fmt: migrate bufPrintZ to bufPrintSentinel (#25260) 2025-09-19 05:02:22 +00:00
fs.zig remove all Oracle Solaris support 2025-10-27 07:35:38 -07:00
gpu.zig spirv: error when execution mode is set more than once 2025-05-21 13:01:21 +03:30
hash.zig simplify std.hash.Adler32 2025-07-31 22:10:11 -07:00
hash_map.zig use pointer subtraction 2025-09-11 00:18:37 -07:00
heap.zig remove all Oracle Solaris support 2025-10-27 07:35:38 -07:00
http.zig http.BodyWriter: improve clarity of chunked state machine 2025-08-17 14:42:57 +02:00
Io.zig std.Io: delete GenericReader 2025-08-29 17:14:26 -07:00
json.zig std.Io: delete GenericReader 2025-08-29 17:14:26 -07:00
leb128.zig std.Io: delete GenericReader 2025-08-29 17:14:26 -07:00
log.zig Remove usages of deprecatedWriter 2025-09-18 22:39:33 -07:00
macho.zig std: fixes 2025-09-30 13:44:51 +01:00
math.zig std: skip some failing tests on hexagon 2025-08-30 06:36:41 +02:00
mem.zig std.mem.countScalar: rework to benefit from simd (#25477) 2025-10-07 09:32:13 -07:00
meta.zig std: disable a few failing tests on hexagon 2025-10-16 22:11:51 +02:00
multi_array_list.zig std: remove loop from growCapacity 2025-09-20 14:34:18 -07:00
net.zig std.Io.Reader: fix delimiter bugs 2025-10-08 17:00:15 -07:00
once.zig
os.zig remove all Oracle Solaris support 2025-10-27 07:35:38 -07:00
pdb.zig std.Io: delete GenericReader 2025-08-29 17:14:26 -07:00
pie.zig std.pie: add sh support 2025-10-23 09:27:17 +02:00
posix.zig remove all Oracle Solaris support 2025-10-27 07:35:38 -07:00
priority_dequeue.zig std.ArrayList: make unmanaged the default 2025-08-11 15:52:49 -07:00
priority_queue.zig
process.zig remove all Oracle Solaris support 2025-10-27 07:35:38 -07:00
Progress.zig remove all Oracle Solaris support 2025-10-27 07:35:38 -07:00
Random.zig
SemanticVersion.zig std.Io: delete GenericReader 2025-08-29 17:14:26 -07:00
simd.zig std: disable a few failing tests on hexagon 2025-10-16 22:11:51 +02:00
SinglyLinkedList.zig
sort.zig
start.zig remove all Oracle Solaris support 2025-10-27 07:35:38 -07:00
static_string_map.zig
std.zig std: allow disabling stack tracing 2025-09-30 13:44:55 +01:00
tar.zig std.tar: update to new I/O API 2025-07-22 09:41:44 -07:00
Target.zig remove all Oracle Solaris support 2025-10-27 07:35:38 -07:00
testing.zig Reader.peekDelimiterInclusive: Fix handling of stream implementations that return 0 2025-10-08 16:42:55 -07:00
Thread.zig remove all Oracle Solaris support 2025-10-27 07:35:38 -07:00
time.zig std.os.uefi.tables: ziggify boot and runtime services (#23441) 2025-07-12 17:18:53 +00:00
treap.zig std.ArrayList: make unmanaged the default 2025-08-11 15:52:49 -07:00
tz.zig std.tz: fix redundant endian handling 2025-08-28 18:30:57 -07:00
unicode.zig std.fmt: delete deprecated APIs 2025-08-31 12:49:18 -07:00
Uri.zig std.Uri: test file URIs without an authority field 2025-10-17 17:40:25 -07:00
valgrind.zig remove condition codes 2025-07-16 10:27:39 -07:00
wasm.zig
zig.zig build runner: remove --prominent-compile-errors, introduce --error-style 2025-10-18 09:28:42 +01:00
zip.zig std.Io: delete GenericReader 2025-08-29 17:14:26 -07:00
zon.zig zon: Add anonymous struct literal in the example 2025-08-15 23:35:16 +02:00