main_mod_path was removed in https://github.com/ziglang/zig/pull/18160

Gordon Cassie 2024-01-16 20:10:13 -08:00
parent 19a4beeea9
commit a14dc1aeaf

@ -123,7 +123,7 @@ zig build test-std -Dskip-release -Dskip-non-native
However, one may also use `zig test` directly. From inside the `ziglang/zig` repo root:
```
zig test lib/std/std.zig --zig-lib-dir lib --main-mod-path lib/std
zig test lib/std/std.zig --zig-lib-dir lib
```
You can add `--test-filter "some test name"` to run a specific test or a subset of tests.