Skip to content

Commit c240f6f

Browse files
luispadronallevato
andauthored
Make sure that symbol graph extraction and interface synthesis honor -Xcc flags that are derived from Bazel's --objccopt flags and from --compilation_mode. (#1566)
Without these, the symbol graph/synthesis invocation will not be able to load explicit modules produced by the compiler when building dependencies. PiperOrigin-RevId: 803055033 Cherry-picks: f79116b Co-authored-by: Tony Allevato <[email protected]>
1 parent 780ee01 commit c240f6f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

swift/toolchains/config/compile_config.bzl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1269,6 +1269,8 @@ def compile_action_configs(
12691269
SWIFT_ACTION_DERIVE_FILES,
12701270
SWIFT_ACTION_DUMP_AST,
12711271
SWIFT_ACTION_PRECOMPILE_C_MODULE,
1272+
SWIFT_ACTION_SYMBOL_GRAPH_EXTRACT,
1273+
SWIFT_ACTION_SYNTHESIZE_INTERFACE,
12721274
],
12731275
configurators = [
12741276
lambda _, args: args.add_all(

0 commit comments

Comments
 (0)