mirror of
https://github.com/ziglang/zig.git
synced 2024-11-24 13:20:14 +00:00
Compare commits
3 Commits
ccbb59bbee
...
3aa935bc0f
Author | SHA1 | Date | |
---|---|---|---|
|
3aa935bc0f | ||
|
f845fa04a0 | ||
|
d1bf035017 |
@ -1982,6 +1982,10 @@ pub const Dependency = struct {
|
||||
}
|
||||
}
|
||||
return found orelse {
|
||||
if (d.builder.graph.needed_lazy_dependencies.entries.len != 0) {
|
||||
// The artifact might become available after missing lazy dependencies have been resolved.
|
||||
process.exit(3);
|
||||
}
|
||||
for (d.builder.install_tls.step.dependencies.items) |dep_step| {
|
||||
const inst = dep_step.cast(Step.InstallArtifact) orelse continue;
|
||||
log.info("available artifact: '{s}'", .{inst.artifact.name});
|
||||
|
@ -48,7 +48,8 @@ fn read(ma: *MemoryAccessor, address: usize, buf: []u8) bool {
|
||||
switch (linux.E.init(bytes_read)) {
|
||||
.SUCCESS => return bytes_read == buf.len,
|
||||
.FAULT => return false,
|
||||
.INVAL, .PERM, .SRCH => unreachable, // own pid is always valid
|
||||
.INVAL, .SRCH => unreachable, // own pid is always valid
|
||||
.PERM => {}, // Known to happen in containers.
|
||||
.NOMEM => {},
|
||||
.NOSYS => {}, // QEMU is known not to implement this syscall.
|
||||
else => unreachable, // unexpected
|
||||
|
Loading…
Reference in New Issue
Block a user