feat: udpate readme

This commit is contained in:
2025-01-12 12:47:58 +08:00
parent 32a429d555
commit fc1cd115d1
2 changed files with 17 additions and 0 deletions

View File

@@ -13,3 +13,17 @@ Calling Rust FFI libraries from Go
```shell
cargo install cargo-zigbuild
```
# Build
Build or Cross build
```shell
just build
```
```shell
just build-linux-x86
```

View File

@@ -1,6 +1,9 @@
_:
@just --list
build:
cargo build
build-linux-x86:
#rustup target add x86_64-unknown-linux-gnu
cargo zigbuild --release --target=x86_64-unknown-linux-gnu