Skip to content

Commit a11c4a2

Browse files
committed
Expand comment in _build_rust_cwd
1 parent 3303dcf commit a11c4a2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/anchor_cli_lib/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,8 @@ fn _build_rust_cwd(
279279
) -> Result<()> {
280280
let exit = std::process::Command::new("cargo")
281281
.arg(arch.build_subcommand())
282-
// smoelius: The next call to `arg` does not appear in the original.
282+
// smoelius: The next call to `arg` does not appear in the original. Passing `--debug` to
283+
// `cargo-build-sbf` causes it to build with debug symbols.
283284
.arg("--debug")
284285
.args(cargo_args.clone())
285286
.stdout(Stdio::inherit())

0 commit comments

Comments
 (0)