| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-11-27 | std: Remove a handful of things deprecated during the 0.15 release cycle | Linus Groh | |
| - std.Build.Step.Compile.root_module mutators -> std.Build.Module - std.Build.Step.Compile.want_lto -> std.Build.Step.Compile.lto - std.Build.Step.ConfigHeader.getOutput -> std.Build.Step.ConfigHeader.getOutputFile - std.Build.Step.Run.max_stdio_size -> std.Build.Step.Run.stdio_limit - std.enums.nameCast -> @field(E, tag_name) / @field(E, @tagName(tag)) - std.Io.tty.detectConfig -> std.Io.tty.Config.detect - std.mem.trimLeft -> std.mem.trimStart - std.mem.trimRight -> std.mem.trimEnd - std.meta.intToEnum -> std.enums.fromInt - std.meta.TagPayload -> @FieldType(U, @tagName(tag)) - std.meta.TagPayloadByName -> @FieldType(U, tag_name) | |||
| 2025-10-29 | update standalone tests for ws2_32 dependency | Andrew Kelley | |
| 2025-08-16 | Compilation: remove last instance of deprecatedReader | Andrew Kelley | |
| This also makes initStreaming preemptively disable file size checking. | |||
| 2025-08-15 | disable failing test on windows | Andrew Kelley | |
| tracked by #24867 | |||
| 2025-05-16 | test: Silence stderr output from `test_obj_link_run`. | Alex Rønne Petersen | |
| 2025-04-22 | compiler: allow emitting tests to an object file | mlugg | |
| This is fairly straightforward; the actual compiler changes are limited to the CLI, since `Compilation` already supports this combination. A new `std.Build` API is introduced to allow representing this. By passing the `emit_object` option to `std.Build.addTest`, you get a `Step.Compile` which emits an object file; you can then use that as you would any other object, such as either installing it for external use, or linking it into another step. A standalone test is added to cover the build system API. It builds a test into an object, and links it into a final executable, which it then runs. Using this build system mechanism prevents the build system from noticing that you're running a `zig test`, so the build runner and test runner do not communicate over stdio. However, that's okay, because the real-world use cases for this feature don't want to do that anyway! Resolves: #23374 | |||
