mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Introduce SWIFT_STDLIB_HAS_TYPE_PRINTING flag to remove the ability to print types at runtime (to save codesize) (#40649)
This commit is contained in:
committed by
GitHub
parent
4405620aa6
commit
663a6fb771
@@ -364,6 +364,10 @@ function(_add_target_variant_c_compile_flags)
|
||||
list(APPEND result "-DSWIFT_STDLIB_SHORT_MANGLING_LOOKUPS")
|
||||
endif()
|
||||
|
||||
if(SWIFT_STDLIB_HAS_TYPE_PRINTING)
|
||||
list(APPEND result "-DSWIFT_STDLIB_HAS_TYPE_PRINTING")
|
||||
endif()
|
||||
|
||||
if(SWIFT_STDLIB_SUPPORTS_BACKTRACE_REPORTING)
|
||||
list(APPEND result "-DSWIFT_STDLIB_SUPPORTS_BACKTRACE_REPORTING")
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user