[docs] Add libc dependency to sentinel-term ptr example
Fixes "dependency on library c must be explicitly specified in the build command" errormaster
parent
e7917d099d
commit
4c87281b5c
|
@ -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`.
|
||||
|
|
Loading…
Reference in New Issue