Skip to content

Commit dd076d8

Browse files
wooster0andrewrk
authored andcommitted
Add missing package to the langref that's always available
1 parent c08b190 commit dd076d8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/langref.html.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8518,6 +8518,9 @@ test "@hasDecl" {
85188518
<li>{#syntax#}@import("builtin"){#endsyntax#} - Target-specific information
85198519
The command <code>zig build-exe --show-builtin</code> outputs the source to stdout for reference.
85208520
</li>
8521+
<li>{#syntax#}@import("root"){#endsyntax#} - Points to the root source file
8522+
This is usually `src/main.zig` but it depends on what file is chosen to be built.
8523+
</li>
85218524
</ul>
85228525
{#see_also|Compile Variables|@embedFile#}
85238526
{#header_close#}

0 commit comments

Comments
 (0)