It seems ld64 is the default linker name on macOS now.

pull/8970/head
Jussi Pakkanen 4 years ago committed by Nirbheek Chauhan
parent 17b86d0cd9
commit fe3163c196
  1. 6
      run_unittests.py

@ -7907,7 +7907,11 @@ class LinuxlikeTests(BasePlatformTests):
def test_ld_environment_variable_d(self):
# At least for me, ldc defaults to gold, and gdc defaults to bfd, so
# let's pick lld, which isn't the default for either (currently)
self._check_ld('ld.lld', 'lld', 'd', 'ld.lld')
if is_osx():
expected = 'ld64'
else:
expected = 'ld.lld'
self._check_ld('ld.lld', 'lld', 'd', expected)
def compute_sha256(self, filename):
with open(filename, 'rb') as f:

Loading…
Cancel
Save