#!/usr/bin/env bash
# ld64 shim: links with Homebrew LLD 22 (`brew install lld`), matching the
# LLVM-22 LTO bitcode in vendor/python. Xcode's ld64 (LLVM 17) cannot read
# that bitcode, and rustc's rust-lld (LLVM 23) mis-resolves a handful of
# symbols in it; the producer-matched major is the one that links clean.
LLD=/opt/homebrew/opt/lld/bin/ld64.lld