| author | |
| committer | |
| log | 1a5dcff8e440fab2d7e9bdefe646ba3943fc122a |
| tree | f4581cdeae3bf35cb51c6f917cb006cf67076dc1 |
| parent | 013a22896015619e23858ae3fbfc92317af574eb |
| signature |
it now denotes:
- all supported styles
- what a given style outputs
- what formats a given style supports2 files changed, 14 insertions(+), 8 deletions(-)
lib/compiler/build_runner.zig+7-4| ... | @@ -1373,10 +1373,13 @@ fn usage(b: *std.Build, out_stream: anytype) !void { | ... | @@ -1373,10 +1373,13 @@ fn usage(b: *std.Build, out_stream: anytype) !void { |
| 1373 | \\ --zig-lib-dir [arg] Override path to Zig lib directory | 1373 | \\ --zig-lib-dir [arg] Override path to Zig lib directory |
| 1374 | \\ --build-runner [file] Override path to build runner | 1374 | \\ --build-runner [file] Override path to build runner |
| 1375 | \\ --seed [integer] For shuffling dependency traversal order (default: random) | 1375 | \\ --seed [integer] For shuffling dependency traversal order (default: random) |
| 1376 | \\ --build-id[=style] At a minor link-time expense, coordinates stripped binaries | 1376 | \\ --build-id[=style] At a minor link-time expense, embeds a build ID in binaries |
| 1377 | \\ fast, uuid, sha1, md5 with debug symbols via a '.note.gnu.build-id' section | 1377 | \\ fast 8-byte non-cryptographic hash (COFF, ELF, WASM) |
| 1378 | \\ 0x[hexstring] Maximum 32 bytes | 1378 | \\ sha1, tree 20-byte cryptographic hash (ELF, WASM) |
| 1379 | \\ none (default) Disable build-id | 1379 | \\ md5 16-byte cryptographic hash (ELF) |
| 1380 | \\ uuid 16-byte random UUID (ELF, WASM) | ||
| 1381 | \\ 0x[hexstring] Constant ID, maximum 32 bytes (ELF, WASM) | ||
| 1382 | \\ none (default) No build ID | ||
| 1380 | \\ --debug-log [scope] Enable debugging the compiler | 1383 | \\ --debug-log [scope] Enable debugging the compiler |
| 1381 | \\ --debug-pkg-config Fail if unknown pkg-config flags encountered | 1384 | \\ --debug-pkg-config Fail if unknown pkg-config flags encountered |
| 1382 | \\ --debug-rt Debug compiler runtime libraries | 1385 | \\ --debug-rt Debug compiler runtime libraries |
src/main.zig+7-4| ... | @@ -570,10 +570,13 @@ const usage_build_generic = | ... | @@ -570,10 +570,13 @@ const usage_build_generic = |
| 570 | \\ -fno-allow-shlib-undefined Disallows undefined symbols in shared libraries | 570 | \\ -fno-allow-shlib-undefined Disallows undefined symbols in shared libraries |
| 571 | \\ -fallow-so-scripts Allows .so files to be GNU ld scripts | 571 | \\ -fallow-so-scripts Allows .so files to be GNU ld scripts |
| 572 | \\ -fno-allow-so-scripts (default) .so files must be ELF files | 572 | \\ -fno-allow-so-scripts (default) .so files must be ELF files |
| 573 | \\ --build-id[=style] At a minor link-time expense, coordinates stripped binaries | 573 | \\ --build-id[=style] At a minor link-time expense, embeds a build ID in binaries |
| 574 | \\ fast, uuid, sha1, md5 with debug symbols via a '.note.gnu.build-id' section | 574 | \\ fast 8-byte non-cryptographic hash (COFF, ELF, WASM) |
| 575 | \\ 0x[hexstring] Maximum 32 bytes | 575 | \\ sha1, tree 20-byte cryptographic hash (ELF, WASM) |
| 576 | \\ none (default) Disable build-id | 576 | \\ md5 16-byte cryptographic hash (ELF) |
| 577 | \\ uuid 16-byte random UUID (ELF, WASM) | ||
| 578 | \\ 0x[hexstring] Constant ID, maximum 32 bytes (ELF, WASM) | ||
| 579 | \\ none (default) No build ID | ||
| 577 | \\ --eh-frame-hdr Enable C++ exception handling by passing --eh-frame-hdr to linker | 580 | \\ --eh-frame-hdr Enable C++ exception handling by passing --eh-frame-hdr to linker |
| 578 | \\ --no-eh-frame-hdr Disable C++ exception handling by passing --no-eh-frame-hdr to linker | 581 | \\ --no-eh-frame-hdr Disable C++ exception handling by passing --no-eh-frame-hdr to linker |
| 579 | \\ --emit-relocs Enable output of relocation sections for post build tools | 582 | \\ --emit-relocs Enable output of relocation sections for post build tools |