This follows up on https://github.com/ziglang/www.ziglang.org/pull/545. Although it did fix one compile error, fixing it actually revealed other issues that are addressed by this pull request:
-
Both versions of main.zig were using the old std.ArrayList API from when it was managed, but as of Zig 0.15.1, it is no longer managed: https://ziglang.org/download/0.15.1/release-notes.html#ArrayList-make-unmanaged-the-default
-
The file unit-testing-skip-foreign/build.zig was missing additional_option=test, so the command zig build --summary all was run instead of the intended command zig build test --summary all.
This follows up on https://github.com/ziglang/www.ziglang.org/pull/545. Although it did fix one compile error, fixing it actually revealed other issues that are addressed by this pull request:
1. Both versions of `main.zig` were using the old `std.ArrayList` API from when it was managed, but as of Zig 0.15.1, it is no longer managed: https://ziglang.org/download/0.15.1/release-notes.html#ArrayList-make-unmanaged-the-default
2. The file `unit-testing-skip-foreign/build.zig` was missing `additional_option=test`, so the command `zig build --summary all` was run instead of the intended command `zig build test --summary all`.