aboutsummaryrefslogtreecommitdiff
path: root/src/Compilation.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2024-12-20 20:18:22 -0800
committerAndrew Kelley <andrew@ziglang.org>2025-01-15 15:11:36 -0800
commit2dbf66dd698601ae8aaee86d5ba6a9078dda0a8e (patch)
tree99a3638fd838df2472dd1e051e0ec0b9838e6605 /src/Compilation.zig
parentd1cde847a367c526c63d65714583189fa2912731 (diff)
downloadzig-2dbf66dd698601ae8aaee86d5ba6a9078dda0a8e.tar.gz
zig-2dbf66dd698601ae8aaee86d5ba6a9078dda0a8e.zip
wasm linker: implement stack pointer global
Diffstat (limited to 'src/Compilation.zig')
-rw-r--r--src/Compilation.zig2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig
index 33868ef195..4dfae7c893 100644
--- a/src/Compilation.zig
+++ b/src/Compilation.zig
@@ -118,6 +118,8 @@ link_task_queue_safety: std.debug.SafetyLock = .{},
link_task_queue_postponed: std.ArrayListUnmanaged(link.Task) = .empty,
/// Initialized with how many link input tasks are expected. After this reaches zero
/// the linker will begin the prelink phase.
+/// Initialized in the Compilation main thread before the pipeline; modified only in
+/// the linker task thread.
remaining_prelink_tasks: u32,
work_queues: [