about summary refs log tree commit diff
path: root/build.sh
blob: 0b8b2c83dcc10dd808a162466efe52813f79a11e (plain)
1
2
3
4
5
6
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