mirror of
https://github.com/ziglang/zig.git
synced 2024-11-26 15:12:31 +00:00
Merge f9c0dd0450
into 87863a834b
This commit is contained in:
commit
cfd62e7e06
@ -1805,7 +1805,7 @@ fn make(step: *Step, options: Step.MakeOptions) !void {
|
||||
lp.path = b.fmt("{}", .{output_dir});
|
||||
}
|
||||
|
||||
// -femit-bin[=path] (default) Output machine code
|
||||
// -femit-bin[=path] (default) Produce and output a binary to an optional path. Defaults to the current working directory.
|
||||
if (compile.generated_bin) |bin| {
|
||||
bin.path = output_dir.joinString(b.allocator, compile.out_filename) catch @panic("OOM");
|
||||
}
|
||||
|
@ -414,7 +414,7 @@ const usage_build_generic =
|
||||
\\ -j<N> Limit concurrent jobs (default is to use all CPU cores)
|
||||
\\ -fincremental Enable incremental compilation
|
||||
\\ -fno-incremental Disable incremental compilation
|
||||
\\ -femit-bin[=path] (default) Output machine code
|
||||
\\ -femit-bin[=path] (default) Produce and output a binary to an optional path. Defaults to the current working directory.
|
||||
\\ -fno-emit-bin Do not output machine code
|
||||
\\ -femit-asm[=path] Output .s (assembly code)
|
||||
\\ -fno-emit-asm (default) Do not output .s (assembly code)
|
||||
|
Loading…
Reference in New Issue
Block a user