authorgravatar for der.teufel.mail@gmail.comKrzysztof Wolicki <der.teufel.mail@gmail.com> 2026-07-20 00:05:30+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-07-21 07:57:01+02:00
log8807e934d840906f4b5bd2ad8fdaa6967c1922ea
tree8e25ac4ac5452870cf61108d4cd91b5066e2a5e4
parent6c25d2bd58e4b5a002a7d1cd2882dd4e7ef23b6f

Remove things deprecated in 0.16.0


3 files changed, 0 insertions(+), 22 deletions(-)

lib/std/Target.zig-3
......@@ -1194,9 +1194,6 @@ pub fn toCoffMachine(target: *const Target) std.coff.IMAGE.FILE.MACHINE {
11941194 };
11951195}
11961196
1197/// Deprecated; use 'std.zig.Subsystem' instead. To be removed after 0.16.0 is tagged.
1198pub const SubSystem = std.zig.Subsystem;
1199
12001197pub const Cpu = struct {
12011198 /// Architecture
12021199 arch: Arch,
lib/std/zig.zig-17
......@@ -386,23 +386,6 @@ pub const Subsystem = enum {
386386 efi_boot_service_driver,
387387 efi_rom,
388388 efi_runtime_driver,
389
390 /// Deprecated; use '.console' instead. To be removed after 0.16.0 is tagged.
391 pub const Console: Subsystem = .console;
392 /// Deprecated; use '.windows' instead. To be removed after 0.16.0 is tagged.
393 pub const Windows: Subsystem = .windows;
394 /// Deprecated; use '.posix' instead. To be removed after 0.16.0 is tagged.
395 pub const Posix: Subsystem = .posix;
396 /// Deprecated; use '.native' instead. To be removed after 0.16.0 is tagged.
397 pub const Native: Subsystem = .native;
398 /// Deprecated; use '.efi_application' instead. To be removed after 0.16.0 is tagged.
399 pub const EfiApplication: Subsystem = .efi_application;
400 /// Deprecated; use '.efi_boot_service_driver' instead. To be removed after 0.16.0 is tagged.
401 pub const EfiBootServiceDriver: Subsystem = .efi_boot_service_driver;
402 /// Deprecated; use '.efi_rom' instead. To be removed after 0.16.0 is tagged.
403 pub const EfiRom: Subsystem = .efi_rom;
404 /// Deprecated; use '.efi_runtime_driver' instead. To be removed after 0.16.0 is tagged.
405 pub const EfiRuntimeDriver: Subsystem = .efi_runtime_driver;
406389};
407390
408391pub const CompressDebugSections = enum(u2) { none, zlib, zstd };
src/link/Lld.zig-2
......@@ -99,8 +99,6 @@ pub const Elf = struct {
9999 bind_global_refs_locally: bool,
100100 pub const HashStyle = enum { sysv, gnu, both };
101101 pub const SortSection = enum { name, alignment };
102 /// Deprecated; use 'std.zig.CompressDebugSections' instead. To be removed after 0.16.0 is tagged.
103 pub const CompressDebugSections = std.zig.CompressDebugSections;
104102
105103 fn init(comp: *Compilation, options: link.File.OpenOptions) !Elf {
106104 const PtrWidth = enum { p32, p64 };