File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -1492,6 +1492,13 @@ elif run_os == 'wasi':
1492
1492
'-target' , config .variant_triple ,
1493
1493
'-Xcc' , '--sysroot=%s' % config .variant_sdk ,
1494
1494
'-Xclang-linker' , '--sysroot=%s' % config .variant_sdk ,
1495
+ # workaroud: Even though StdlibUnittest uses _Concurrency,
1496
+ # _Concurrency module won't be listed in IMPORTED_MODULE.
1497
+ # And -parse-stdlib disables implicit imports, so autolink
1498
+ # system is broken when static link & -parse-stdlib & importing _Concurrency.
1499
+ # This issue causes link failure that reports there are missing swift_task_XX
1500
+ # symbols.
1501
+ '-lswift_Concurrency' ,
1495
1502
'-toolchain-stdlib-rpath' , resource_dir_opt ,
1496
1503
mcp_opt , config .swift_test_options ,
1497
1504
config .swift_driver_test_options , swift_execution_tests_extra_flags ])
You can’t perform that action at this time.
0 commit comments