Skip to content

Commit a51da4d

Browse files
authored
Merge pull request #75 from extism/update-readme-docs
Add import namespace to raw interface docs
2 parents 471eb11 + f90c282 commit a51da4d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,7 @@ values to the host (not pointers). If you do, you need to drop down into a raw
396396
interface. E.g, imagine an interface that sums two i64s
397397

398398
```rust
399+
#[link(wasm_import_module = "extism:host/user")]
399400
extern "C" {
400401
fn sum(a: i64, b: i64) -> i64;
401402
}

0 commit comments

Comments
 (0)