motiejus/zig

fork of https://codeberg.org/ziglang/zig
git clone https://git.jakstys.lt/motiejus/zig.git
Log | Tree | Refs | README | LICENSE

commit 4c87281b5cf0e9268107f6456aeb16d097d1eb76 (tree)
parent e7917d099d5a654926ffbd352e149c9d45a196b1
Author: Shritesh <shr@ite.sh>
Date:   Mon, 13 Jan 2020 20:19:50 -0600

[docs] Add libc dependency to sentinel-term ptr example

Fixes "dependency on library c must be explicitly specified in the build command" error

Diffstat:
Mdoc/langref.html.in | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/doc/langref.html.in b/doc/langref.html.in @@ -2157,6 +2157,7 @@ test "allowzero" { against buffer overflow and overreads. </p> {#code_begin|exe_build_err#} + {#link_libc#} const std = @import("std"); // This is also available as `std.c.printf`.