From 4c87281b5cf0e9268107f6456aeb16d097d1eb76 Mon Sep 17 00:00:00 2001 From: Shritesh Date: Mon, 13 Jan 2020 20:19:50 -0600 Subject: [PATCH] [docs] Add libc dependency to sentinel-term ptr example Fixes "dependency on library c must be explicitly specified in the build command" error --- doc/langref.html.in | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/langref.html.in b/doc/langref.html.in index 233e7799fbfd3fe2199822fbe32ef8991119fb65..442e4ac52b52f8e6088ae3d40c64f697baa05d4e 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -2157,6 +2157,7 @@ test "allowzero" { against buffer overflow and overreads.

{#code_begin|exe_build_err#} + {#link_libc#} const std = @import("std"); // This is also available as `std.c.printf`. -- 2.54.0