Result alias for convienient use of anyhow::Error without depending on anyhow (#5853)
* Add a Result type alias * Refer to the type in top-level docs * Use this inside the documentation for the bindgen! macro * Fix tests * Address small PR feedback * Simply re-export anyhow types
This commit is contained in:
@@ -785,7 +785,6 @@ pub fn set_fuel<T>(store: &mut Store<T>, fuel: u64) {
|
||||
/// arbitrary types and values.
|
||||
pub fn dynamic_component_api_target(input: &mut arbitrary::Unstructured) -> arbitrary::Result<()> {
|
||||
use crate::generators::component_types;
|
||||
use anyhow::Result;
|
||||
use component_fuzz_util::{TestCase, EXPORT_FUNCTION, IMPORT_FUNCTION};
|
||||
use component_test_util::FuncExt;
|
||||
use wasmtime::component::{Component, Linker, Val};
|
||||
|
||||
Reference in New Issue
Block a user