diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2020-09-26 22:37:19 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-09-26 22:37:19 -0700 |
| commit | a9082b4ec51debdbffc20b56e9b37cb82dd04750 (patch) | |
| tree | 251eaeee7562ee64757b3a171cd327c4d23a116c /src/link.zig | |
| parent | 4b403c7eaca50815cae8f2ddde19b4fb476ae8ca (diff) | |
| download | zig-a9082b4ec51debdbffc20b56e9b37cb82dd04750.tar.gz zig-a9082b4ec51debdbffc20b56e9b37cb82dd04750.zip | |
stage2: add CLI support for --subsystem
Diffstat (limited to 'src/link.zig')
| -rw-r--r-- | src/link.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/link.zig b/src/link.zig index b90dce9766..a0372da4a1 100644 --- a/src/link.zig +++ b/src/link.zig @@ -77,6 +77,7 @@ pub const Options = struct { disable_lld_caching: bool, gc_sections: ?bool = null, allow_shlib_undefined: ?bool = null, + subsystem: ?std.Target.SubSystem = null, linker_script: ?[]const u8 = null, version_script: ?[]const u8 = null, override_soname: ?[]const u8 = null, |
