Skip to content

Commit

Permalink
fix: add partition objects to main module
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbatashev committed Jan 1, 2024
1 parent a8d079d commit a587e54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/private/target_rules.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def module_impl(ctx):
)

obj_files = cpp_compile(ctx.files.srcs + [pcm], headers, includes, modules, features, toolchain, module_srcs = ctx.files.interface)
obj_files = cpp_strip_objects(obj_files, features, toolchain) + collect_module_objects(ctx.attr.deps)
obj_files = cpp_strip_objects(obj_files, features, toolchain) + collect_module_objects(ctx.attr.deps + ctx.attr.partitions)

return CppModuleInfo(
module_name = ctx.attr.module_name,
Expand Down

0 comments on commit a587e54

Please sign in to comment.