Skip to content

Commit

Permalink
Merge pull request #72283 from apple/rokhinip/121121793-stdlib-minimal
Browse files Browse the repository at this point in the history
Enable task-to-thread model by default for mixin_stdlib_minimal
  • Loading branch information
rokhinip committed Mar 13, 2024
2 parents 663865c + 99069a3 commit bae6450
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions utils/build-presets.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2659,6 +2659,7 @@ build-swift-stdlib-static-print=1
darwin-crash-reporter-client=0
swift-stdlib-use-relative-protocol-witness-tables=1
swift-stdlib-overridable-retain-release=0
swift-stdlib-task-to-thread-model-concurrency=1

[preset: stdlib_S_standalone_minimal_macho_x86_64,build]
mixin-preset=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ def build(self, host_target):
self.cmake_options.define('SWIFT_THREADING_PACKAGE:STRING', 'none')
self.cmake_options.define(
'SWIFT_STDLIB_OVERRIDABLE_RETAIN_RELEASE:BOOL', 'FALSE')
self.cmake_options.define(
'SWIFT_STDLIB_TASK_TO_THREAD_MODEL_CONCURRENCY:BOOL', 'TRUE')

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

0 comments on commit bae6450

Please sign in to comment.