mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 14:23:09 +00:00
std.Build: update build-id flag description
it now denotes: - all supported styles - what a given style outputs - what formats a given style supports
This commit is contained in:
parent
013a228960
commit
1a5dcff8e4
@ -1373,10 +1373,13 @@ fn usage(b: *std.Build, out_stream: anytype) !void {
|
|||||||
\\ --zig-lib-dir [arg] Override path to Zig lib directory
|
\\ --zig-lib-dir [arg] Override path to Zig lib directory
|
||||||
\\ --build-runner [file] Override path to build runner
|
\\ --build-runner [file] Override path to build runner
|
||||||
\\ --seed [integer] For shuffling dependency traversal order (default: random)
|
\\ --seed [integer] For shuffling dependency traversal order (default: random)
|
||||||
\\ --build-id[=style] At a minor link-time expense, coordinates stripped binaries
|
\\ --build-id[=style] At a minor link-time expense, embeds a build ID in binaries
|
||||||
\\ fast, uuid, sha1, md5 with debug symbols via a '.note.gnu.build-id' section
|
\\ fast 8-byte non-cryptographic hash (COFF, ELF, WASM)
|
||||||
\\ 0x[hexstring] Maximum 32 bytes
|
\\ sha1, tree 20-byte cryptographic hash (ELF, WASM)
|
||||||
\\ none (default) Disable build-id
|
\\ md5 16-byte cryptographic hash (ELF)
|
||||||
|
\\ uuid 16-byte random UUID (ELF, WASM)
|
||||||
|
\\ 0x[hexstring] Constant ID, maximum 32 bytes (ELF, WASM)
|
||||||
|
\\ none (default) No build ID
|
||||||
\\ --debug-log [scope] Enable debugging the compiler
|
\\ --debug-log [scope] Enable debugging the compiler
|
||||||
\\ --debug-pkg-config Fail if unknown pkg-config flags encountered
|
\\ --debug-pkg-config Fail if unknown pkg-config flags encountered
|
||||||
\\ --debug-rt Debug compiler runtime libraries
|
\\ --debug-rt Debug compiler runtime libraries
|
||||||
|
|||||||
11
src/main.zig
11
src/main.zig
@ -570,10 +570,13 @@ const usage_build_generic =
|
|||||||
\\ -fno-allow-shlib-undefined Disallows undefined symbols in shared libraries
|
\\ -fno-allow-shlib-undefined Disallows undefined symbols in shared libraries
|
||||||
\\ -fallow-so-scripts Allows .so files to be GNU ld scripts
|
\\ -fallow-so-scripts Allows .so files to be GNU ld scripts
|
||||||
\\ -fno-allow-so-scripts (default) .so files must be ELF files
|
\\ -fno-allow-so-scripts (default) .so files must be ELF files
|
||||||
\\ --build-id[=style] At a minor link-time expense, coordinates stripped binaries
|
\\ --build-id[=style] At a minor link-time expense, embeds a build ID in binaries
|
||||||
\\ fast, uuid, sha1, md5 with debug symbols via a '.note.gnu.build-id' section
|
\\ fast 8-byte non-cryptographic hash (COFF, ELF, WASM)
|
||||||
\\ 0x[hexstring] Maximum 32 bytes
|
\\ sha1, tree 20-byte cryptographic hash (ELF, WASM)
|
||||||
\\ none (default) Disable build-id
|
\\ md5 16-byte cryptographic hash (ELF)
|
||||||
|
\\ uuid 16-byte random UUID (ELF, WASM)
|
||||||
|
\\ 0x[hexstring] Constant ID, maximum 32 bytes (ELF, WASM)
|
||||||
|
\\ none (default) No build ID
|
||||||
\\ --eh-frame-hdr Enable C++ exception handling by passing --eh-frame-hdr to linker
|
\\ --eh-frame-hdr Enable C++ exception handling by passing --eh-frame-hdr to linker
|
||||||
\\ --no-eh-frame-hdr Disable C++ exception handling by passing --no-eh-frame-hdr to linker
|
\\ --no-eh-frame-hdr Disable C++ exception handling by passing --no-eh-frame-hdr to linker
|
||||||
\\ --emit-relocs Enable output of relocation sections for post build tools
|
\\ --emit-relocs Enable output of relocation sections for post build tools
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user