diff options
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..0b8b2c8 --- /dev/null +++ b/build.sh @@ -0,0 +1,7 @@ +#!/usr/local/bin/fish + +set sysroot /Users/gen/sysroot + +env BINDGEN_EXTRA_CLANG_ARGS="-I$sysroot/usr/include" \ + RUSTFLAGS="-Ctarget-feature=+crt-static" \ + cargo build --target aarch64-unknown-linux-gnu --release \ No newline at end of file |