authorgravatar for erik.hugne@gmail.comErik Hugne <erik.hugne@gmail.com> 2022-04-28 17:34:15+02:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2022-04-28 18:34:15+03:00
log8e3add8736be683b450c2754bedb064811baed0e
tree4b5b2b0502face50a0c52d1bfc1749110abdd40e
parentf7bc8900bfef87f67230ac5af7edb2d7766b3ba3
signaturebadge-question-mark Signed by PGP key 4AEE18F83AFDEB23

std.build: make no_dll_export_fns accessible in build step


1 files changed, 4 insertions(+), 0 deletions(-)

lib/std/build.zig+4
......@@ -1583,6 +1583,7 @@ pub const LibExeObjStep = struct {
15831583 red_zone: ?bool = null,
15841584
15851585 omit_frame_pointer: ?bool = null,
1586 no_dll_export_fns: bool = false,
15861587
15871588 subsystem: ?std.Target.SubSystem = null,
15881589
......@@ -2639,6 +2640,9 @@ pub const LibExeObjStep = struct {
26392640 try zig_args.append("-fno-omit-frame-pointer");
26402641 }
26412642 }
2643 if (self.no_dll_export_fns) {
2644 try zig_args.append("-fno-dll-export-fns");
2645 }
26422646 if (self.disable_sanitize_c) {
26432647 try zig_args.append("-fno-sanitize-c");
26442648 }