Skip to content

Commit 7cb8808

Browse files
committed
Typo
1 parent 5cf129f commit 7cb8808

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/b.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1191,7 +1191,7 @@ pub unsafe fn main(mut argc: i32, mut argv: *mut*mut c_char) -> Option<()> {
11911191
let target_name = flag_str(c!("t"), default_target_name, c!("Compilation target. Pass \"list\" to get the list of available targets."));
11921192
let output_path = flag_str(c!("o"), ptr::null(), c!("Output path"));
11931193
let run = flag_bool(c!("run"), false, c!("Run the compiled program (if applicable for the target)"));
1194-
let nobuild = flag_bool(c!("nobuild"), false, strdup(temp_sprintf(c!("Skip the build step. Useful in conjunction with the -%s flag when you already have a build program and just want to run it on the specified target without rebuilding it."), flag_name(run)))); // memory leak
1194+
let nobuild = flag_bool(c!("nobuild"), false, strdup(temp_sprintf(c!("Skip the build step. Useful in conjunction with the -%s flag when you already have a built program and just want to run it on the specified target without rebuilding it."), flag_name(run)))); // memory leak
11951195
let help = flag_bool(c!("help"), false, c!("Print this help message"));
11961196
let linker = flag_list(c!("L"), c!("Append a flag to the linker of the target platform"));
11971197
let nostdlib = flag_bool(c!("nostdlib"), false, c!("Do not link with standard libraries like libb and/or libc on some platforms"));

0 commit comments

Comments
 (0)