marler8997 / zigup

Download and manage zig compilers.
MIT No Attribution
790 stars 61 forks source link

update for deprecated aliases in std #140

Closed dweiller closed 4 months ago

dweiller commented 4 months ago

Extracted from #139.

The declarations std.zig.CrossTarget, std.fs.MAX_PATH_BYTES, and std.mem.tokenize were made into compile errors in zig version 0.13.0-dev.33+76fb2b685. Individually, these were deprecated (but not made compile errors) in:

so this change makes zigup unbuildable with versions of zig prior to 0.11.0-dev.3382+cd62005f1 (if it was previously was), but allows building zigup with with zig versions after 0.13.0-dev.33+76fb2b685.