pub const Prefixed = struct sync_scope: SyncScopeprefix: []const u88260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273 pub const Prefixed = struct {
sync_scope: SyncScope,
prefix: []const u8,
pub fn format(p: Prefixed, w: *Writer) Writer.Error!void {
switch (p.sync_scope) {
.system => return,
.singlethread => {
var vecs: [2][]const u8 = .{ p.prefix, "syncscope(\"singlethread\")" };
return w.writeVecAll(&vecs);
},
}
}
}