Skip to content

Fix mojo_library taking dependencies that require file path expansion#39

Closed
jackos wants to merge 1 commit intomodular:mainfrom
jackos:jackos/mojo-library-dependency-fix
Closed

Fix mojo_library taking dependencies that require file path expansion#39
jackos wants to merge 1 commit intomodular:mainfrom
jackos:jackos/mojo-library-dependency-fix

Conversation

@jackos
Copy link
Contributor

@jackos jackos commented Jul 26, 2025

Previously the mojo package command was unable to find bitcode
libraries that were specified in additional_compiler_inputs, this
exposes the file to the correct path.

Previously the `mojo package` command was unable to find bitcode
libraries that were specified in `additional_compiler_inputs`, this
exposes the file to the correct path.

transitive_runfiles = []
for target in ctx.attr.data:
for target in ctx.attr.data + ctx.attr.deps:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's the case where this is needed at runtime later?

@jackos
Copy link
Contributor Author

jackos commented Jul 28, 2025

Closing, was using Bazel incorrectly, using filegroup without a genrule works fine

@jackos jackos closed this Jul 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments