Skip to content

Commit

Permalink
fix: namespace in host function example (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
zshipko authored Jan 11, 2024
1 parent 4b943cf commit 30adb05
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 30adb05

Please sign in to comment.