build: replace mold with the wild linker

This commit is contained in:
Amaan Qureshi 2026-06-15 21:53:46 -04:00
commit b42e6f4af9
No known key found for this signature in database
GPG key ID: 2171751AD2A2739A
8 changed files with 53 additions and 66 deletions

5
scripts/clang-wild Executable file
View file

@ -0,0 +1,5 @@
#!/usr/bin/env sh
# Link via clang+wild. Wild sits behind the linker (not a rustflag) so a
# cross-toolchain that overrides the linker drops it instead of choking on
# --ld-path. Needs clang and wild on PATH.
exec clang --ld-path=wild "$@"