Skip to content
This repository was archived by the owner on Oct 2, 2025. It is now read-only.

Commit a32ac8d

Browse files
committed
fix(baseui): argv was set wrong with arguments #39
1 parent 83c11c7 commit a32ac8d

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/ui/cli.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -343,15 +343,6 @@ impl DebuggerUI for CliUi {
343343
Ok(path) => {
344344
let mut args: Vec<CString> = vec![path_to_cstring_or_empty(&path)];
345345

346-
// Try to create CStrings for the arguments
347-
args.push(match CString::new(self.buf_preparsed[0].clone()) {
348-
Ok(cs) => cs,
349-
Err(e) => {
350-
error!("Error creating CString: {}", e);
351-
continue;
352-
}
353-
});
354-
355346
for arg in self.buf_preparsed.iter().skip(2) {
356347
match CString::new(arg.clone()) {
357348
Ok(cs) => args.push(cs),

0 commit comments

Comments
 (0)