#!/bin/bash source .build.sh echo echo '==> Checking deps' which git which cargo echo echo '==> Cloning repo' clone https://github.com/hickory-dns/hickory-dns.git hickory-dns cd hickory-dns trap 'cd ..' EXIT set_cflags echo echo '==> Building resolve' cargo build \ --release \ --bin resolve \ --features dnssec-ring \ --config 'panic="abort"' \ --config 'lto="fat"' \ --config 'codegen-units=1' echo echo '==> Done'