forked from upstream/UXP-mirror
Most notably, these tweaks were needed to fix ./mach build faster. Also chose to set NSDISTMODE=copy by default for Windows, since wildcards will be symlinks otherwise. This will always fail because our binaries have the symlinked MSVC DLLs in their import tables, and Windows loader silently fails in this situation.