Meg's Mirrors
zig
about
heads
tags
log
tree
search
Search
zig
test
cases
compile_errors
implicit_dependency_on_libc.zig
pretty
plain
permalink
blame
history
•
9 lines
•
190 B
1
extern "c" fn exit(u8) void;
2
export fn entry() void {
3
exit(0);
4
}
5
6
// error
7
// target=native-linux
8
//
9
// :1:8: error: dependency on libc must be explicitly specified in the build command