We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7117966 + ed34973 commit 9c2a045Copy full SHA for 9c2a045
test/lit.cfg
@@ -1450,7 +1450,10 @@ config.substitutions.append(('%target-sdk-name', config.target_sdk_name))
1450
# Add 'stdlib_dir' as the path to the stdlib resource directory
1451
stdlib_dir = os.path.join(config.swift_lib_dir, "swift")
1452
if platform.system() == 'Darwin':
1453
- stdlib_dir = os.path.join(stdlib_dir, config.target_sdk_name)
+ if run_os == 'maccatalyst':
1454
+ stdlib_dir = os.path.join(stdlib_dir, run_os)
1455
+ else:
1456
+ stdlib_dir = os.path.join(stdlib_dir, config.target_sdk_name)
1457
else:
1458
stdlib_dir = os.path.join(stdlib_dir, config.target_sdk_name, target_arch)
1459
config.substitutions.append(('%stdlib_dir', stdlib_dir))
0 commit comments