diff --git a/README.md b/README.md index 88c35d4..67c843d 100644 --- a/README.md +++ b/README.md @@ -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 +``` + diff --git a/justfile b/justfile index 42b1d2d..955762a 100644 --- a/justfile +++ b/justfile @@ -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