summaryrefslogtreecommitdiff
path: root/crates/cli/src/value_parse.rs
diff options
context:
space:
mode:
authorHenry <mail@henrygressmann.de>2026-08-10 16:21:47 +0200
committerHenry <mail@henrygressmann.de>2026-08-10 16:21:47 +0200
commit70c5bb2e4816f7ee458a6180845af3bd6b1d2d1d (patch)
treeefaff316f2fb7a84d641faf70c20d49ead3c0cbc /crates/cli/src/value_parse.rs
parent666c7f59301acc9fcef10ac2da5beb464e57d665 (diff)
chore: cleanup tests / devdeps, fix doom example
Signed-off-by: Henry <mail@henrygressmann.de>
Diffstat (limited to 'crates/cli/src/value_parse.rs')
-rw-r--r--crates/cli/src/value_parse.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/cli/src/value_parse.rs b/crates/cli/src/value_parse.rs
index eabbdc4..3191eaf 100644
--- a/crates/cli/src/value_parse.rs
+++ b/crates/cli/src/value_parse.rs
@@ -1,4 +1,4 @@
-use eyre::{Result, bail};
+use anyhow::{Result, bail};
use tinywasm::types::{FuncType, WasmType, WasmValue};
use crate::output::format_wasm_type;
@@ -33,8 +33,8 @@ fn parse_arg(index: usize, ty: WasmType, value: &str) -> Result<WasmValue> {
Ok(parsed)
}
-fn format_error(index: usize, ty: WasmType, value: &str, error: impl core::fmt::Display) -> eyre::Report {
- eyre::eyre!("failed to parse argument {} as {} from `{value}`: {error}", index + 1, format_wasm_type(ty))
+fn format_error(index: usize, ty: WasmType, value: &str, error: impl core::fmt::Display) -> anyhow::Error {
+ anyhow::anyhow!("failed to parse argument {} as {} from `{value}`: {error}", index + 1, format_wasm_type(ty))
}
#[cfg(test)]