Skip to content

Commit 865a1a1

Browse files
authored
Merge pull request #75 from ewasm/readme
Mention that projects should be cdylib in the README
2 parents f5290ec + 3f2b0d4 commit 865a1a1

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)