aboutsummaryrefslogtreecommitdiff
path: root/lib/std/builtin.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-07-11 23:06:12 -0700
committerGitHub <noreply@github.com>2023-07-11 23:06:12 -0700
commit660955c0d64fdbda41e1ff7dddc40c5c4393c42c (patch)
tree403e2b57ac341c706659ac3620246c1f19b778e0 /lib/std/builtin.zig
parenta7707d8279d32b025cac4de0ddc9abeb25f31243 (diff)
parent2463f4df7780e268546cfd5bb0550f20114a0c1b (diff)
downloadzig-660955c0d64fdbda41e1ff7dddc40c5c4393c42c.tar.gz
zig-660955c0d64fdbda41e1ff7dddc40c5c4393c42c.zip
Merge pull request #15775 from r00ster91/newlines
remove some newlines and other minor cleanups
Diffstat (limited to 'lib/std/builtin.zig')
-rw-r--r--lib/std/builtin.zig3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/std/builtin.zig b/lib/std/builtin.zig
index 714c938dbe..fd50011ab8 100644
--- a/lib/std/builtin.zig
+++ b/lib/std/builtin.zig
@@ -56,7 +56,6 @@ pub const StackTrace = struct {
std.debug.writeStackTrace(self, writer, arena.allocator(), debug_info, tty_config) catch |err| {
try writer.print("Unable to print stack trace: {s}\n", .{@errorName(err)});
};
- try writer.writeAll("\n");
}
};
@@ -191,10 +190,12 @@ pub const CallingConvention = enum(u8) {
/// This data structure is used by the Zig language code generation and
/// therefore must be kept in sync with the compiler implementation.
pub const AddressSpace = enum(u5) {
+ // CPU address spaces.
generic,
gs,
fs,
ss,
+
// GPU address spaces.
global,
constant,