diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-01-18 10:47:02 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-01-18 10:47:02 -0700 |
| commit | f423b5949b8722d4b290f57c3d06d015e39217b0 (patch) | |
| tree | 8c9d05573e1d595c311e99643ffd68cce75aa92f /lib | |
| parent | 4938fb8f5ca9551b69036fdb644103ffc9ef49cf (diff) | |
| download | zig-f423b5949b8722d4b290f57c3d06d015e39217b0.tar.gz zig-f423b5949b8722d4b290f57c3d06d015e39217b0.zip | |
Revert "stage2: implement `@prefetch`"
This reverts commit d48e4245b68bf25c7f41804a5012ac157a5ee546.
I have no idea why this is failing Drone CI, but in a branch, reverting
this commit solved the problem.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/std/builtin.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/builtin.zig b/lib/std/builtin.zig index ba5801e936..72503b7d2f 100644 --- a/lib/std/builtin.zig +++ b/lib/std/builtin.zig @@ -643,12 +643,12 @@ pub const PrefetchOptions = struct { /// The cache that the prefetch should be preformed on. cache: Cache = .data, - pub const Rw = enum(u1) { + pub const Rw = enum { read, write, }; - pub const Cache = enum(u1) { + pub const Cache = enum { instruction, data, }; |
