mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-07 22:34:28 +00:00
Previously, the compiler had special logic to determine whether to include the startup code, which was in `std/special/start.zig`. Now, the file is moved to `std/start.zig`, and there is no special logic in the compiler. Instead, the standard library unconditionally imports the `start.zig` file, which then has a `comptime` block that does the logic of determining what, if any, start symbols to export. Instead of `start.zig` being in its own special package, it is just another normal file that is part of the standard library. `std.builtin.TestFn` is now part of the standard library rather than specially generated by the compiler. |
||
|---|---|---|
| .. | ||
| compiler_rt | ||
| docs | ||
| init-exe | ||
| init-lib | ||
| build_runner.zig | ||
| c.zig | ||
| compiler_rt.zig | ||
| test_runner.zig | ||