| ... | @@ -8518,6 +8518,9 @@ test "@hasDecl" { | ... | @@ -8518,6 +8518,9 @@ test "@hasDecl" { |
| 8518 | <li>{#syntax#}@import("builtin"){#endsyntax#} - Target-specific information | 8518 | <li>{#syntax#}@import("builtin"){#endsyntax#} - Target-specific information |
| 8519 | The command <code>zig build-exe --show-builtin</code> outputs the source to stdout for reference. | 8519 | The command <code>zig build-exe --show-builtin</code> outputs the source to stdout for reference. |
| 8520 | </li> | 8520 | </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> |
| 8521 | </ul> | 8524 | </ul> |
| 8522 | {#see_also|Compile Variables|@embedFile#} | 8525 | {#see_also|Compile Variables|@embedFile#} |
| 8523 | {#header_close#} | 8526 | {#header_close#} |