Skip to content

Commit

Permalink
fix: namespace in host function example
Browse files Browse the repository at this point in the history
  • Loading branch information
zshipko committed Jan 11, 2024
1 parent 44370c5 commit c462109
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/host_function.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ struct Output {
pub count: i32,
}

#[host_fn("extism:user")]
#[host_fn("extism:env/user")]
extern "ExtismHost" {
fn hello_world(count: Json<Output>) -> Json<Output>;
}
Expand Down

0 comments on commit c462109

Please sign in to comment.