Skip to content

Commit

Permalink
release: Update version
Browse files Browse the repository at this point in the history
  • Loading branch information
JakWai01 committed Jul 21, 2024
1 parent 3b7f5cc commit 6197ab6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lurk-cli"
version = "0.3.5"
version = "0.3.6"
edition = "2021"
authors = ["Jakob Waibel <[email protected]>", "Yuri Astrakhan <[email protected]>"]
description = "lurk is a pretty (simple) alternative to strace."
Expand Down
5 changes: 3 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//!
//! ```toml
//! [dependencies]
//! lurk-cli = "0.3.4"
//! lurk-cli = "0.3.6"
//! nix = { version = "0.27.1", features = ["ptrace", "signal"] }
//! console = "0.15.8"
//! ```
Expand Down Expand Up @@ -437,7 +437,8 @@ impl<W: Write> Tracer<W> {
let reg = registers.orig_rax;
#[cfg(target_arch = "riscv64")]
let reg = registers.a7;
(reg as u32).try_into()
(reg as u32)
.try_into()
.map_err(|_| anyhow!("Invalid syscall number {}", reg))
}

Expand Down

0 comments on commit 6197ab6

Please sign in to comment.