diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-07-11 14:18:56 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-07-11 14:18:56 -0700 |
| commit | 2b99182e25e045109b090a794bb06295b09a0eeb (patch) | |
| tree | 4cbb93210359b2b1f7e8359752807c8eb4dcf353 /src/link.zig | |
| parent | 1f410b500c8dbe33191a54a4ae02a6fb0febec46 (diff) | |
| download | zig-2b99182e25e045109b090a794bb06295b09a0eeb.tar.gz zig-2b99182e25e045109b090a794bb06295b09a0eeb.zip | |
stage2: cleanups to --compress-debug-sections
* make the setting in the linker backend be non-optional; by this time
all defaults are supposed to be resolved.
* integrate with `zig cc`
* change the CLI parsing to match C compiler parsing, allowing
`--compress-debug-sections` alone to choose a default encoding of
zlib.
Diffstat (limited to 'src/link.zig')
| -rw-r--r-- | src/link.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/link.zig b/src/link.zig index 7975684263..9b12fc2b48 100644 --- a/src/link.zig +++ b/src/link.zig @@ -123,7 +123,7 @@ pub const Options = struct { nxcompat: bool, dynamicbase: bool, linker_optimization: u8, - compress_debug_sections: ?CompressDebugSections, + compress_debug_sections: CompressDebugSections, bind_global_refs_locally: bool, import_memory: bool, import_table: bool, |
