File tree Expand file tree Collapse file tree 2 files changed +6
-9
lines changed
stdlib/public/Concurrency Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -199,6 +199,8 @@ if(SWIFT_SHOULD_BUILD_EMBEDDED_STDLIB AND SWIFT_SHOULD_BUILD_EMBEDDED_CONCURRENC
199199 set (SWIFT_CONCURRENCY_USES_DISPATCH FALSE )
200200 set (SWIFT_STDLIB_SINGLE_THREADED_CONCURRENCY TRUE )
201201 set (SWIFT_STDLIB_CONCURRENCY_TRACING FALSE )
202+ set (SWIFT_STDLIB_HAS_ENVIRON FALSE )
203+ set (SWIFT_STDLIB_HAS_ASL FALSE )
202204
203205 foreach (entry ${EMBEDDED_STDLIB_TARGET_TRIPLES} )
204206 string (REGEX REPLACE "[ \t ]+" ";" list "${entry} " )
@@ -220,9 +222,11 @@ if(SWIFT_SHOULD_BUILD_EMBEDDED_STDLIB AND SWIFT_SHOULD_BUILD_EMBEDDED_CONCURRENC
220222 set (extra_swift_compile_flags -Xcc -D__MACH__ -Xcc -D__APPLE__ -Xcc -ffreestanding)
221223 endif ()
222224
225+ set (SWIFT_SDK_embedded_THREADING_PACKAGE none)
223226 set (SWIFT_SDK_embedded_ARCH_${mod} _MODULE "${mod} " )
224227 set (SWIFT_SDK_embedded_LIB_SUBDIR "embedded" )
225228 set (SWIFT_SDK_embedded_ARCH_${mod} _TRIPLE "${triple} " )
229+
226230 add_swift_target_library_single(
227231 embedded-concurrency-${mod}
228232 swift_Concurrency
Original file line number Diff line number Diff line change 99// Fail if there is any entry in actual-dependencies.txt that's not in allowed-dependencies.txt
1010// RUN: test -z "`comm -13 %t/allowed-dependencies.txt %t/actual-dependencies.txt`"
1111
12- // DEP: __ZNSt3__111this_thread9sleep_forERKNS_6chrono8durationIxNS_5ratioILl1ELl1000000000EEEEE
1312// DEP: __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEPKc
1413// DEP: __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEPKcm
1514// DEP: __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6insertEmPKc
2019// DEP: __ZdlPv
2120// DEP: __Znwm
2221// DEP: ___assert_rtn
22+ // DEP: ___error
2323// DEP: ___stack_chk_fail
2424// DEP: ___stack_chk_guard
2525// DEP: ___stderrp
2626// DEP: __availability_version_check
2727// DEP: _abort
28- // DEP: _asl_log
2928// DEP: _dispatch_once_f
3029// DEP: _dlsym
3130// DEP: _exit
3736// DEP: _fseek
3837// DEP: _ftell
3938// DEP: _malloc
40- // DEP: _memcpy
4139// DEP: _memset_s
42- // DEP: _os_unfair_lock_lock
43- // DEP: _os_unfair_lock_unlock
40+ // DEP: _nanosleep
4441// DEP: _posix_memalign
45- // DEP: _pthread_equal
46- // DEP: _pthread_getspecific
47- // DEP: _pthread_self
48- // DEP: _pthread_setspecific
4942// DEP: _putchar
5043// DEP: _rewind
5144// DEP: _sscanf
You can’t perform that action at this time.
0 commit comments