Skip to content

Commit

Permalink
[interop][workaround] force back use of @expose attribute before _Con…
Browse files Browse the repository at this point in the history
…currency issue is fixed
  • Loading branch information
hyp committed Mar 9, 2023
1 parent 76fc5d8 commit b01b271
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmake/SwiftToCXXInterop.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ function(add_swift_to_cxx_header_gen_target target_name header_target_name heade
"$<$<BOOL:${target_includes_expr}>:-I$<JOIN:${target_includes_expr},;-I>>"
${ARG_FLAGS}
${SwiftXccOptions}

# FIXME (Alex): remove once issue with _Concurrency exposed is fixed.
-clang-header-expose-decls=has-expose-attr-or-stdlib
DEPENDS
"${target_sources}"
COMMAND_EXPAND_LISTS
Expand Down

0 comments on commit b01b271

Please sign in to comment.