Problem
The current Zig 0.17 toolchain adds pointer_stability to std.ArrayListUnmanaged. Several test-only fixtures in src/interpreter.zig and src/promise.zig still construct lists by naming only items and capacity, so zig build test fails at compile time before any selected test runs.
Scope
- Replace externally backed test-list literals with the standard constructors that initialize all current metadata.
- Preserve whether each buffer is externally managed (
initBuffer) or transferred to the list (fromOwnedSlice). - Audit the remaining raw
{ items, capacity }literals so custom stack types are not changed accidentally.
Acceptance
- The focused unit artifact compiles with Zig 0.17.0-dev.2163.
- The touched promise/microtask and waiter tests retain their exact behavior.
- Production code and test262 behavior are unchanged.