Skip to content

Commit 9993d29

Browse files
authored
Merge pull request #81491 from etcwilde/ewilde/enable-commandline-by-default
Runtimes: Enable CommandLine support wholesale
2 parents 749e9ee + 94e6950 commit 9993d29

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Runtimes/Core/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ defaulted_option(SwiftCore_ENABLE_OBJC_INTEROP "Enable runtime ObjC interop")
104104
defaulted_option(SwiftCore_ENABLE_TYPE_PRINTING "Enable printing type names")
105105
defaulted_option(SwiftCore_ENABLE_VECTOR_TYPES "Enable vector support")
106106
defaulted_option(SwiftCore_ENABLE_REFLECTION "Enable runtime support for mirrors and reflection support")
107-
defaulted_option(SwiftCore_ENABLE_COMMANDLINE_SUPPORT "Enable command line argument support")
108107
defaulted_option(SwiftCore_ENABLE_RUNTIME_FUNCTION_COUNTERS "Enable runtime function counter support")
109108
defaulted_option(SwiftCore_ENABLE_STDIN "Enable functions that use stdin support")
110109
defaulted_option(SwiftCore_ENABLE_ENVIRONMENT "Enable environment variable support")
@@ -116,6 +115,7 @@ defaulted_option(SwiftCore_ENABLE_BACKDEPLOYMENT_SUPPORT "Add symbols for runtim
116115
defaulted_option(SwiftCore_ENABLE_STDLIB_TRACING "Enable tracing in the runtime. Assumes the presence of os_log(3) and the os_signpost(3) API.")
117116
defaulted_option(SwiftCore_ENABLE_CONCURRENCY "Enable Concurrency runtime support")
118117
defaulted_set(SwiftCore_CONCURRENCY_GLOBAL_EXECUTOR STRING "Default Concurrency global executor implementation")
118+
option(SwiftCore_ENABLE_COMMANDLINE_SUPPORT "Enable command line argument support" ON)
119119
option(SwiftCore_ENABLE_UNICODE_DATA "Include unicode data in Swift runtimes" ON)
120120
option(SwiftCore_ENABLE_SHORT_MANGLING_LOOKUPS "Build with fast-path context descriptor lookups based on well-known short manglings." ON)
121121
option(SwiftCore_ENABLE_FILESYSTEM_SUPPORT "Build for systems that have a filesystem" ON)

Runtimes/Core/cmake/modules/DefaultSettings.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
# the variable with `-DSwiftCore_*` on the commandline.
77

88
set(SwiftCore_ENABLE_BACKTRACING_default OFF) # TODO: enable this by default
9-
set(SwiftCore_ENABLE_COMMANDLINE_SUPPORT_default OFF) # TODO: enable this by default
109

1110
set(SwiftCore_ENABLE_STDIN_default ON)
1211
set(SwiftCore_ENABLE_TYPE_PRINTING_default ON)

0 commit comments

Comments
 (0)