mlugg
b8e568504e
std.Build: extend test_runner option to specify whether runner uses std.zig.Server
...
The previous logic here was trying to assume that custom test runners
never used `std.zig.Server` to communicate with the build runner;
however, it was flawed, because modifying the `test_runner` field on
`Step.Compile` would not update this flag. That might have been
intentional (allowing a way for the user to specify a custom test runner
which *does* use the compiler server protocol), but if so, it was a
flawed API, since it was too easy to update one field without updating
the other.
Instead, bundle these two pieces of state into a new type
`std.Build.Step.Compile.TestRunner`. When passing a custom test runner,
you are now *provided* to specify whether it is a "simple" runner, or
whether it uses the compiler server protocol.
This is a breaking change, but is unlikely to affect many people, since
custom test runners are seldom used in the wild.
2025-01-20 00:14:58 +00:00
..
2025-01-20 00:14:58 +00:00
2025-01-16 12:46:29 +00:00
2024-10-13 18:44:42 -07:00
2025-01-16 20:47:30 -05:00
2025-01-18 17:33:10 -05:00
2024-12-19 17:10:03 -05:00
2024-08-28 08:39:59 +01:00
2025-01-16 20:11:42 +00:00
2025-01-16 12:46:29 +00:00
2024-10-12 22:53:02 +02:00
2025-01-16 20:42:08 -05:00
2025-01-16 12:46:29 +00:00
2025-01-16 12:49:58 +00:00
2025-01-18 15:45:03 +01:00
2025-01-16 12:49:58 +00:00
2025-01-16 12:49:58 +00:00
2024-02-23 02:37:11 -07:00
2025-01-16 20:42:08 -05:00
2025-01-16 20:42:08 -05:00
2024-11-27 22:33:29 +01:00
2024-07-23 11:43:12 -07:00
2024-08-27 00:44:35 +01:00
2024-10-04 13:50:25 -07:00
2025-01-16 20:42:08 -05:00
2023-09-06 19:06:32 +03:00
2025-01-16 20:47:30 -05:00
2024-08-15 17:54:27 -07:00
2024-11-04 10:56:32 +01:00
2025-01-19 23:42:39 +01:00
2025-01-17 22:55:55 +01:00
2025-01-15 15:11:35 -08:00
2025-01-15 15:11:35 -08:00
2024-11-29 12:26:23 -08:00
2025-01-12 04:51:00 +01:00
2024-09-04 08:10:12 +00:00
2024-09-19 17:06:23 -07:00
2024-07-09 14:25:42 -07:00
2024-08-23 22:30:10 -07:00
2023-11-19 09:55:07 +00:00
2024-02-26 15:18:31 -08:00
2025-01-20 00:14:58 +00:00
2025-01-16 12:49:58 +00:00
2025-01-16 12:46:29 +00:00
2024-08-23 19:56:24 +02:00
2024-03-10 18:13:30 -07:00
2024-12-11 18:52:43 +01:00
2025-01-16 20:47:30 -05:00
2024-08-22 08:44:08 +02:00
2024-10-12 10:44:17 -07:00
2024-10-12 10:44:17 -07:00
2025-01-16 12:49:58 +00:00
2024-03-21 14:11:46 -07:00
2025-01-16 12:49:58 +00:00
2024-10-17 01:08:58 +02:00
2024-11-01 02:04:27 +03:30
2025-01-06 13:37:30 +00:00
2024-11-24 15:30:52 -08:00
2025-01-16 20:42:08 -05:00
2024-08-07 00:48:32 -07:00
2025-01-16 12:49:58 +00:00
2024-05-03 13:27:30 -07:00
2024-08-28 08:39:59 +01:00
2023-11-24 22:33:50 -07:00
2024-08-28 08:39:59 +01:00
2024-07-31 16:57:42 -07:00
2024-09-02 00:10:22 +03:00
2025-01-16 20:42:08 -05:00
2025-01-16 12:49:58 +00:00
2025-01-16 12:49:58 +00:00
2024-07-19 00:30:32 -07:00
2024-08-27 00:44:35 +01:00
2025-01-16 20:42:08 -05:00
2024-08-29 23:43:52 +01:00
2025-01-16 20:42:08 -05:00
2024-07-23 11:43:12 -07:00
2024-07-09 14:25:42 -07:00
2024-07-20 01:06:28 -07:00
2025-01-16 12:46:29 +00:00
2025-01-16 12:46:29 +00:00
2024-03-10 18:17:23 +11:00
2024-08-28 08:39:59 +01:00
2024-10-31 20:42:53 +00:00
2025-01-16 20:42:08 -05:00
2024-09-23 13:03:06 -07:00
2024-12-11 00:10:17 +01:00
2024-06-20 23:22:39 +00:00
2024-11-07 20:25:26 -05:00
2024-10-04 13:50:25 -07:00
2025-01-15 15:11:35 -08:00
2025-01-16 12:46:29 +00:00
2025-01-19 03:23:00 +01:00
2024-09-26 12:35:14 -07:00
2024-07-28 19:47:55 -07:00
2023-10-31 21:37:35 -04:00
2024-08-21 01:30:46 +01:00
2024-04-12 22:37:07 -07:00
2024-11-04 12:39:48 +01:00
2025-01-15 15:11:36 -08:00
2025-01-09 06:46:47 +00:00
2025-01-17 22:55:55 +01:00