Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
RogerKSI committed Aug 8, 2022
1 parent 53e889b commit 5b36779
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
## Generate cbindgen for go
## Generate bindings.h for go

````
```
cd libgo_owasm
cbindgen --config cbindgen.toml --output ../api/bindings.h
cargo build --release
```

## Build shared object library

Currently, we support only build on linux. Osx build will be available.

- run `make docker-images` to pre-built dependencies
- run `make release` to build current code to `libgo_owasm.so`
````
- run `make release` to build current code to `libgo_owasm.so` and `libgo_owasm.dylib`

0 comments on commit 5b36779

Please sign in to comment.