frmdstryr / zhp

A Http server written in Zig
MIT License
355 stars 24 forks source link

Update to latest zig for endian changes #3

Closed zhangkaizhao closed 3 years ago

zhangkaizhao commented 3 years ago

The std.builtin.endian is gone. Use std.builtin.target.cpu.arch.endian() instead.

zhangkaizhao commented 3 years ago

Tested on zig version 0.8.0-dev.2707+322215bf0.