zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit dd076d8cba226409a00813f3477f55fd2e0eb6e6 (tree)
parent c08b190c6918b33d27ceffe1ab3afd5d7f6370ea
Author: r00ster <r00ster91@protonmail.com>
Date:   Fri,  7 Jan 2022 19:50:21 +0100

Add missing package to the langref that's always available
Diffstat:
Mdoc/langref.html.in | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/doc/langref.html.in b/doc/langref.html.in @@ -8518,6 +8518,9 @@ test "@hasDecl" { <li>{#syntax#}@import("builtin"){#endsyntax#} - Target-specific information The command <code>zig build-exe --show-builtin</code> outputs the source to stdout for reference. </li> + <li>{#syntax#}@import("root"){#endsyntax#} - Points to the root source file + This is usually `src/main.zig` but it depends on what file is chosen to be built. + </li> </ul> {#see_also|Compile Variables|@embedFile#} {#header_close#}