Skip to content

Commit

Permalink
undo sample-elf testing code
Browse files Browse the repository at this point in the history
  • Loading branch information
xor-bits committed Nov 26, 2023
1 parent 9b41fc7 commit 1276505
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions crates/sample-elf/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,9 @@ fn run_client() -> Result<()> {

println!("got `{:?}`", core::str::from_utf8(&buf[..len]));
}

Ok(())
}

pub fn main(_args: CliArgs) {
let mut i = 0usize;
loop {
let msg = format!("Hello {i}");
i += 1;
println!("{msg}");
}

if run_server().is_err() {
run_client().unwrap();
}
Expand Down

0 comments on commit 1276505

Please sign in to comment.