Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions build-static-bins-macos.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/env bash
#
# Use this script to compile the binaries statically linked for MacOS (aarch64-apple-darwin)
# and with logging enabled (controlled by RUST_LOG env var)
#
RUSTFLAGS="-C target-feature=+crt-static" \
cargo build --release \
--target aarch64-apple-darwin \
--features env_logger \
--features clap \
--features statsd \
--bins