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 @@ -1511,6 +1511,13 @@ elif run_os == 'wasi':
1511
1511
'-target' , config .variant_triple ,
1512
1512
'-Xcc' , '--sysroot=%s' % config .variant_sdk ,
1513
1513
'-Xclang-linker' , '--sysroot=%s' % config .variant_sdk ,
1514
+ # workaroud: Even though StdlibUnittest uses _Concurrency,
1515
+ # _Concurrency module won't be listed in IMPORTED_MODULE.
1516
+ # And -parse-stdlib disables implicit imports, so autolink
1517
+ # system is broken when static link & -parse-stdlib & importing _Concurrency.
1518
+ # This issue causes link failure that reports there are missing swift_task_XX
1519
+ # symbols.
1520
+ '-lswift_Concurrency' ,
1514
1521
'-toolchain-stdlib-rpath' , resource_dir_opt ,
1515
1522
mcp_opt , config .swift_test_options ,
1516
1523
config .swift_driver_test_options , swift_execution_tests_extra_flags ])
You can’t perform that action at this time.
0 commit comments