zig/lib/std/debug
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
..
Dwarf std.debug.Dwarf.SelfUnwinder: assume same-value rule by default for all columns 2025-10-10 15:12:27 +02:00
SelfInfo remove all Oracle Solaris support 2025-10-27 07:35:38 -07:00
Coverage.zig std: fix debug.Info and debug.Coverage 2025-09-30 13:44:52 +01:00
cpu_context.zig remove all Oracle Solaris support 2025-10-27 07:35:38 -07:00
Dwarf.zig std.Target: add arceb and xtensaeb Cpu.Arch tags 2025-10-23 09:27:17 +02:00
ElfFile.zig std: fix 32-bit build and some unsafe casts 2025-09-30 13:44:53 +01:00
Info.zig std: replace debug.Dwarf.ElfModule with debug.ElfFile 2025-09-30 13:44:52 +01:00
no_panic.zig std: remove old panic handlers after zig1.wasm update 2025-06-01 12:10:57 +01:00
Pdb.zig std: work around crash parsing LLVM PDB 2025-09-30 13:44:55 +01:00
simple_panic.zig std.io: move getStdIn, getStdOut, getStdErr functions to fs.File 2025-07-07 22:43:51 -07:00