| author | |
| committer | |
| log | 3e1e625814165d9d9282f3cd89bc117cf1b6d61c |
| tree | d11286d7449c2cb0b65e040d48ba06967f4fcd65 |
| parent | 5464392e116b590cc9c2b662e967bc544b7d0a64 |
| signature |
For a test target with link_libc = null, we need to skip it if we would
implicitly link libc because the target requires it or because we don't yet have
a syscall layer for it.1 files changed, 1 insertions(+), 1 deletions(-)
test/tests.zig+1-1| ... | ... | @@ -2531,7 +2531,7 @@ pub fn addModuleTests(b: *std.Build, options: ModuleTestOptions) *Step { |
| 2531 | 2531 | } else continue; |
| 2532 | 2532 | } |
| 2533 | 2533 | |
| 2534 | if (options.skip_libc and test_target.link_libc == true) | |
| 2534 | if (options.skip_libc and (test_target.link_libc == true or std.os.targetRequiresLibC(target))) | |
| 2535 | 2535 | continue; |
| 2536 | 2536 | |
| 2537 | 2537 | // We can't provide MSVC libc when cross-compiling. |