Skip to content

Commit cdc72fd

Browse files
authored
Merge pull request #66679 from mikeash/disable-tracing-minimal
[Build] Set swift-stdlib-tracing=0 for minimal stdlib builds.
2 parents 49e9284 + 290970a commit cdc72fd

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

utils/build-presets.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2625,6 +2625,7 @@ swift-stdlib-has-stdin=0
26252625
swift-stdlib-has-environ=0
26262626
swift-stdlib-has-locale=0
26272627
swift-runtime-static-image-inspection=1
2628+
swift-stdlib-tracing=0
26282629
swift-stdlib-concurrency-tracing=0
26292630
swift-stdlib-os-versioning=0
26302631
swift-stdlib-has-commandline=0

utils/build-script-impl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ KNOWN_SETTINGS=(
211211
swift-runtime-static-image-inspection "0" "whether to build stdlib assuming the runtime environment only supports a single runtime image with Swift code"
212212
swift-threading-package "" "override the threading package for the host build; this is either a single package or a semicolon-separated list of sdk:package pairs. Valid packages are empty string (no override), 'pthreads', 'darwin', 'linux', 'win32', 'c11', 'none'"
213213
swift-stdlib-single-threaded-concurrency "0" "build Swift concurrency in single-threaded mode"
214+
swift-stdlib-tracing "" "whether to enable tracing signposts for the stdlib; default is 1 on Darwin platforms, 0 otherwise"
214215
swift-stdlib-concurrency-tracing "" "whether to enable tracing signposts for concurrency; default is 1 on Darwin platforms, 0 otherwise"
215216
swift-stdlib-use-relative-protocol-witness-tables "0" "whether to use relative protocol witness table"
216217
swift-enable-runtime-function-counters "" "whether to enable runtime function counters"

0 commit comments

Comments
 (0)