aboutsummaryrefslogtreecommitdiff
path: root/lib/std/builtin.zig
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/builtin.zig')
-rw-r--r--lib/std/builtin.zig8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/std/builtin.zig b/lib/std/builtin.zig
index 56414ee1b0..dbd19fbadf 100644
--- a/lib/std/builtin.zig
+++ b/lib/std/builtin.zig
@@ -419,6 +419,14 @@ pub const CallOptions = struct {
};
};
+/// This data structure is used by the Zig language code generation and
+/// therefore must be kept in sync with the compiler implementation.
+pub const ExportOptions = struct {
+ name: []const u8,
+ linkage: GlobalLinkage = .Strong,
+ section: ?[]const u8 = null,
+};
+
/// This function type is used by the Zig language code generation and
/// therefore must be kept in sync with the compiler implementation.
pub const TestFn = struct {