This commit is contained in:
Uzair Aftab 2024-11-26 14:11:00 +01:00 committed by GitHub
commit cfd62e7e06
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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");
}

View File

@ -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)