| 1 | From 27f2553c1c53ec417181dfe30104df993dffdab1 Mon Sep 17 00:00:00 2001
|
| 2 | From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= <[email protected]>
|
| 3 | Date: Tue, 5 Nov 2024 06:20:19 +0200
|
| 4 | Subject: [PATCH] 0.10.0-747-g7b2a936173 CallOptions + zig2-only
|
| 5 |
|
| 6 | ---
|
| 7 | CMakeLists.txt | 19 -------------------
|
| 8 | lib/std/builtin.zig | 5 +++++
|
| 9 | 2 files changed, 5 insertions(+), 19 deletions(-)
|
| 10 |
|
| 11 | diff --git a/lib/std/builtin.zig b/lib/std/builtin.zig
|
| 12 | index eb1212607d..5278906d43 100644
|
| 13 | |
| 14 | |
| 15 | @@ -1,5 +1,10 @@
|
| 16 | const builtin = @import("builtin");
|
| 17 |
|
| 18 | +pub const CallOptions = struct {
|
| 19 | + modifier: CallModifier = .auto,
|
| 20 | + stack: ?[]align(std.Target.stack_align) u8 = null,
|
| 21 | +};
|
| 22 | +
|
| 23 | /// `explicit_subsystem` is missing when the subsystem is automatically detected,
|
| 24 | /// so Zig standard library has the subsystem detection logic here. This should generally be
|
| 25 | /// used rather than `explicit_subsystem`.
|
| 26 | --
|
| 27 | 2.44.1
|
| 28 |
|