next.js
f381e3e5 - Turbopack: Use lld again on ARM64 glibc Linux (#92860)

Commit
12 days ago
Turbopack: Use lld again on ARM64 glibc Linux (#92860) `lld` is much faster than the default gnu `ld` linker on most Linux systems. Timeline: - https://github.com/vercel/next.js/pull/91477 removed these flags as part of cleanup because they're now default on x86-64 glibc linux. However, they are not default on arm64. - https://github.com/vercel/next.js/pull/91799 removed these flags from musl, and lost the comment explaining reason for the `gnu-lld-cc` option. Without this change, doing a dev build of a trivial change to `crates/next-napi-bindings/src/lib.rs` can take over a minute. I tested this by looking at htop near the end of a build and observing `lld` instead of `ld`.
Author
bgw bgw
Parents
Loading