-
-
Save fengb/36b81ad1529ab5a082021201bb43587e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/local/Cellar/zig/0.4.0+82ab006e/lib/zig/std/debug.zig:1045:23: error: container 'std.c' has no member called '_mh_execute_header' | |
const hdr = &std.c._mh_execute_header; | |
^ | |
/usr/local/Cellar/zig/0.4.0+82ab006e/lib/zig/std/c.zig:48:102: error: use of undeclared identifier 'fd_t' | |
pub extern "c" fn mmap(addr: ?*align(page_size) c_void, len: usize, prot: c_uint, flags: c_uint, fd: fd_t, offset: isize) *c_void; | |
^ | |
/usr/local/Cellar/zig/0.4.0+82ab006e/lib/zig/std/c.zig:18:30: error: use of undeclared identifier '_errno' | |
return @intCast(u16, _errno().*); | |
^ | |
/usr/local/Cellar/zig/0.4.0+82ab006e/lib/zig/std/os.zig:1990:18: note: called from here | |
switch (errno(system.munmap(memory.ptr, memory.len))) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment