aboutsummaryrefslogtreecommitdiff
path: root/lib/std/event
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-05-18 20:20:46 -0400
committerGitHub <noreply@github.com>2021-05-18 20:20:46 -0400
commit6435750c99e705eb40bbdf75e51a3493d683e951 (patch)
tree2f1ab1dc537ba8804ae6d1e0bdd094d646625e53 /lib/std/event
parentd228d86059cf16f4b37b2853cc1323bf98d242cf (diff)
parent667236668f865de4c854a047d65017140317e7e9 (diff)
downloadzig-6435750c99e705eb40bbdf75e51a3493d683e951.tar.gz
zig-6435750c99e705eb40bbdf75e51a3493d683e951.zip
Merge pull request #8554 from ziglang/stage2-whole-file-astgen
Stage2 whole file astgen
Diffstat (limited to 'lib/std/event')
-rw-r--r--lib/std/event/channel.zig2
-rw-r--r--lib/std/event/future.zig2
-rw-r--r--lib/std/event/group.zig2
-rw-r--r--lib/std/event/lock.zig2
-rw-r--r--lib/std/event/loop.zig2
-rw-r--r--lib/std/event/rwlock.zig2
-rw-r--r--lib/std/event/wait_group.zig2
7 files changed, 7 insertions, 7 deletions
diff --git a/lib/std/event/channel.zig b/lib/std/event/channel.zig
index a069985aeb..f9c2d4b533 100644
--- a/lib/std/event/channel.zig
+++ b/lib/std/event/channel.zig
@@ -4,7 +4,7 @@
// The MIT license requires this copyright notice to be included in all copies
// and substantial portions of the software.
const std = @import("../std.zig");
-const builtin = @import("builtin");
+const builtin = std.builtin;
const assert = std.debug.assert;
const testing = std.testing;
const Loop = std.event.Loop;
diff --git a/lib/std/event/future.zig b/lib/std/event/future.zig
index a081ec0c0f..81326f3fb6 100644
--- a/lib/std/event/future.zig
+++ b/lib/std/event/future.zig
@@ -6,7 +6,7 @@
const std = @import("../std.zig");
const assert = std.debug.assert;
const testing = std.testing;
-const builtin = @import("builtin");
+const builtin = std.builtin;
const Lock = std.event.Lock;
/// This is a value that starts out unavailable, until resolve() is called
diff --git a/lib/std/event/group.zig b/lib/std/event/group.zig
index e6e608ac57..7ac27a13f2 100644
--- a/lib/std/event/group.zig
+++ b/lib/std/event/group.zig
@@ -4,7 +4,7 @@
// The MIT license requires this copyright notice to be included in all copies
// and substantial portions of the software.
const std = @import("../std.zig");
-const builtin = @import("builtin");
+const builtin = std.builtin;
const Lock = std.event.Lock;
const testing = std.testing;
const Allocator = std.mem.Allocator;
diff --git a/lib/std/event/lock.zig b/lib/std/event/lock.zig
index fd59bd49c4..c7aeff1066 100644
--- a/lib/std/event/lock.zig
+++ b/lib/std/event/lock.zig
@@ -4,7 +4,7 @@
// The MIT license requires this copyright notice to be included in all copies
// and substantial portions of the software.
const std = @import("../std.zig");
-const builtin = @import("builtin");
+const builtin = std.builtin;
const assert = std.debug.assert;
const testing = std.testing;
const mem = std.mem;
diff --git a/lib/std/event/loop.zig b/lib/std/event/loop.zig
index 279d26490e..393d5688a5 100644
--- a/lib/std/event/loop.zig
+++ b/lib/std/event/loop.zig
@@ -4,7 +4,7 @@
// The MIT license requires this copyright notice to be included in all copies
// and substantial portions of the software.
const std = @import("../std.zig");
-const builtin = @import("builtin");
+const builtin = std.builtin;
const root = @import("root");
const assert = std.debug.assert;
const testing = std.testing;
diff --git a/lib/std/event/rwlock.zig b/lib/std/event/rwlock.zig
index 46e14472bf..714e50b2a9 100644
--- a/lib/std/event/rwlock.zig
+++ b/lib/std/event/rwlock.zig
@@ -4,7 +4,7 @@
// The MIT license requires this copyright notice to be included in all copies
// and substantial portions of the software.
const std = @import("../std.zig");
-const builtin = @import("builtin");
+const builtin = std.builtin;
const assert = std.debug.assert;
const testing = std.testing;
const mem = std.mem;
diff --git a/lib/std/event/wait_group.zig b/lib/std/event/wait_group.zig
index 0b83c18c74..dde01c61a3 100644
--- a/lib/std/event/wait_group.zig
+++ b/lib/std/event/wait_group.zig
@@ -4,7 +4,7 @@
// The MIT license requires this copyright notice to be included in all copies
// and substantial portions of the software.
const std = @import("../std.zig");
-const builtin = @import("builtin");
+const builtin = std.builtin;
const Loop = std.event.Loop;
/// A WaitGroup keeps track and waits for a group of async tasks to finish.