remove most conditional compilation based on stage1
There are still a few occurrences of "stage1" in the standard library and self-hosted compiler source, however, these instances need a bit more careful inspection to ensure no breakage.
This commit is contained in:
@@ -15,10 +15,7 @@ const Runnable = struct {
|
||||
runFn: RunProto,
|
||||
};
|
||||
|
||||
const RunProto = switch (builtin.zig_backend) {
|
||||
.stage1 => fn (*Runnable) void,
|
||||
else => *const fn (*Runnable) void,
|
||||
};
|
||||
const RunProto = *const fn (*Runnable) void;
|
||||
|
||||
pub fn init(pool: *ThreadPool, allocator: std.mem.Allocator) !void {
|
||||
pool.* = .{
|
||||
|
||||
Reference in New Issue
Block a user