File tree Expand file tree Collapse file tree 2 files changed +14
-8
lines changed Expand file tree Collapse file tree 2 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -1373,10 +1373,13 @@ fn usage(b: *std.Build, out_stream: anytype) !void {
1373
1373
\\ --zig-lib-dir [arg] Override path to Zig lib directory
1374
1374
\\ --build-runner [file] Override path to build runner
1375
1375
\\ --seed [integer] For shuffling dependency traversal order (default: random)
1376
- \\ --build-id[=style] At a minor link-time expense, coordinates stripped binaries
1377
- \\ fast, uuid, sha1, md5 with debug symbols via a '.note.gnu.build-id' section
1378
- \\ 0x[hexstring] Maximum 32 bytes
1379
- \\ none (default) Disable build-id
1376
+ \\ --build-id[=style] At a minor link-time expense, embeds a build ID in binaries
1377
+ \\ fast 8-byte non-cryptographic hash (COFF, ELF, WASM)
1378
+ \\ sha1, tree 20-byte cryptographic hash (ELF, WASM)
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
1383
\\ --debug-log [scope] Enable debugging the compiler
1381
1384
\\ --debug-pkg-config Fail if unknown pkg-config flags encountered
1382
1385
\\ --debug-rt Debug compiler runtime libraries
Original file line number Diff line number Diff line change @@ -570,10 +570,13 @@ const usage_build_generic =
570
570
\\ -fno-allow-shlib-undefined Disallows undefined symbols in shared libraries
571
571
\\ -fallow-so-scripts Allows .so files to be GNU ld scripts
572
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
574
- \\ fast, uuid, sha1, md5 with debug symbols via a '.note.gnu.build-id' section
575
- \\ 0x[hexstring] Maximum 32 bytes
576
- \\ none (default) Disable build-id
573
+ \\ --build-id[=style] At a minor link-time expense, embeds a build ID in binaries
574
+ \\ fast 8-byte non-cryptographic hash (COFF, ELF, WASM)
575
+ \\ sha1, tree 20-byte cryptographic hash (ELF, WASM)
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
580
\\ --eh-frame-hdr Enable C++ exception handling by passing --eh-frame-hdr to linker
578
581
\\ --no-eh-frame-hdr Disable C++ exception handling by passing --no-eh-frame-hdr to linker
579
582
\\ --emit-relocs Enable output of relocation sections for post build tools
You can’t perform that action at this time.
0 commit comments