aboutsummaryrefslogtreecommitdiff
path: root/src/main.zig
diff options
context:
space:
mode:
authorTristan Ross <tristan.ross@midstall.com>2024-02-18 21:52:23 -0800
committerTristan Ross <tristan.ross@midstall.com>2024-03-11 07:09:10 -0700
commit6067d39522f939c08dd3f3ea4fb5889ff0024e72 (patch)
tree0eb768171ecfb058fba72d199afc951af206f8fb /src/main.zig
parentc260b4c753d1e5f947e0d33ce39ce173e497309f (diff)
downloadzig-6067d39522f939c08dd3f3ea4fb5889ff0024e72.tar.gz
zig-6067d39522f939c08dd3f3ea4fb5889ff0024e72.zip
std.builtin: make atomic order fields lowercase
Diffstat (limited to 'src/main.zig')
-rw-r--r--src/main.zig6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.zig b/src/main.zig
index 2c9cd3e3e5..74c78bf089 100644
--- a/src/main.zig
+++ b/src/main.zig
@@ -4145,8 +4145,8 @@ fn progressThread(progress: *std.Progress, server: *const Server, reset: *std.Th
buf.appendSlice("... ") catch {};
}
need_ellipse = false;
- const eti = @atomicLoad(usize, &node.unprotected_estimated_total_items, .Monotonic);
- const completed_items = @atomicLoad(usize, &node.unprotected_completed_items, .Monotonic);
+ const eti = @atomicLoad(usize, &node.unprotected_estimated_total_items, .monotonic);
+ const completed_items = @atomicLoad(usize, &node.unprotected_completed_items, .monotonic);
const current_item = completed_items + 1;
if (node.name.len != 0 or eti > 0) {
if (node.name.len != 0) {
@@ -4163,7 +4163,7 @@ fn progressThread(progress: *std.Progress, server: *const Server, reset: *std.Th
need_ellipse = false;
}
}
- maybe_node = @atomicLoad(?*std.Progress.Node, &node.recently_updated_child, .Acquire);
+ maybe_node = @atomicLoad(?*std.Progress.Node, &node.recently_updated_child, .acquire);
}
}