Skip to content

Commit

Permalink
swift_StringProcessing
Browse files Browse the repository at this point in the history
  • Loading branch information
omochi committed Jun 10, 2024
1 parent 34de760 commit bac6cea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/CartonCore/Environment.swift
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public enum Environment: String, CaseIterable {
#if compiler(>=6.0) || compiler(>=5.11)
parameters.otherLinkerFlags += [
"--export-if-defined=__main_argc_argv",
"-lswift_RegexParser"
"-lswift_StringProcessing", "-lswift_RegexParser"
]
#else
// Before Swift 6.0, the main function is defined as "main" instead of mangled "__main_argc_argv"
Expand Down

0 comments on commit bac6cea

Please sign in to comment.