Skip to content

Commit 3f2b0d4

Browse files
committed
Mention that projects should be cdylib in the README
1 parent f5290ec commit 3f2b0d4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ Add the dependency, as usual:
1313
ewasm-api = "0.10"
1414
```
1515

16+
Make sure the project is a library of `cdylib` type:
17+
```toml
18+
[lib]
19+
crate-type = ["cdylib"]
20+
```
21+
1622
In your project, include the prelude:
1723
```rust
1824
use ewasm_api::prelude::*;

0 commit comments

Comments
 (0)