update std lib and compiler sources to new for loop syntax
This commit is contained in:
@@ -117,11 +117,11 @@ test "std.atomic.stack" {
|
||||
}
|
||||
} else {
|
||||
var putters: [put_thread_count]std.Thread = undefined;
|
||||
for (putters) |*t| {
|
||||
for (&putters) |*t| {
|
||||
t.* = try std.Thread.spawn(.{}, startPuts, .{&context});
|
||||
}
|
||||
var getters: [put_thread_count]std.Thread = undefined;
|
||||
for (getters) |*t| {
|
||||
for (&getters) |*t| {
|
||||
t.* = try std.Thread.spawn(.{}, startGets, .{&context});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user