Skip to content

Commit bae6450

Browse files
authored
Merge pull request swiftlang#72283 from apple/rokhinip/121121793-stdlib-minimal
Enable task-to-thread model by default for mixin_stdlib_minimal
2 parents 663865c + 99069a3 commit bae6450

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

utils/build-presets.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2659,6 +2659,7 @@ build-swift-stdlib-static-print=1
26592659
darwin-crash-reporter-client=0
26602660
swift-stdlib-use-relative-protocol-witness-tables=1
26612661
swift-stdlib-overridable-retain-release=0
2662+
swift-stdlib-task-to-thread-model-concurrency=1
26622663

26632664
[preset: stdlib_S_standalone_minimal_macho_x86_64,build]
26642665
mixin-preset=

utils/swift_build_support/swift_build_support/products/minimalstdlib.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,8 @@ def build(self, host_target):
171171
self.cmake_options.define('SWIFT_THREADING_PACKAGE:STRING', 'none')
172172
self.cmake_options.define(
173173
'SWIFT_STDLIB_OVERRIDABLE_RETAIN_RELEASE:BOOL', 'FALSE')
174+
self.cmake_options.define(
175+
'SWIFT_STDLIB_TASK_TO_THREAD_MODEL_CONCURRENCY:BOOL', 'TRUE')
174176

175177
# Build!
176178
self.build_with_cmake(["swift-stdlib-freestanding"], build_variant, [],

0 commit comments

Comments
 (0)