From 4d58f3d6ba1caaa331ae61471a6a0d6778d6baab Mon Sep 17 00:00:00 2001 From: gennyble Date: Thu, 23 Nov 2023 14:28:36 -0600 Subject: oh, i should commit :) --- build.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 build.sh (limited to 'build.sh') 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 -- cgit 1.4.1-3-g733a5