mirror of
https://github.com/ziglang/zig.git
synced 2026-01-21 06:45:24 +00:00
std.build: make no_dll_export_fns accessible in build step
This commit is contained in:
parent
f7bc8900bf
commit
8e3add8736
@ -1583,6 +1583,7 @@ pub const LibExeObjStep = struct {
|
||||
red_zone: ?bool = null,
|
||||
|
||||
omit_frame_pointer: ?bool = null,
|
||||
no_dll_export_fns: bool = false,
|
||||
|
||||
subsystem: ?std.Target.SubSystem = null,
|
||||
|
||||
@ -2639,6 +2640,9 @@ pub const LibExeObjStep = struct {
|
||||
try zig_args.append("-fno-omit-frame-pointer");
|
||||
}
|
||||
}
|
||||
if (self.no_dll_export_fns) {
|
||||
try zig_args.append("-fno-dll-export-fns");
|
||||
}
|
||||
if (self.disable_sanitize_c) {
|
||||
try zig_args.append("-fno-sanitize-c");
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user